home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1994-12-20 | 92.5 KB | [STAK/WILD] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| HyperCard Stack (archive/hypercard)
| idMeta
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Tue Dec 20 15:54:06 1994, modified Tue Dec 20 15:54:06 1994, creator HyperCard, type HyperCard stack, 85088 bytes "SizzleSwitch" , at 0x14ce0 9463 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Mac HyperCard stack (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [STAK] |
macFileCreator | [WILD] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 53 69 7a 7a 6c 65 | 53 77 69 74 63 68 00 00 |..Sizzle|Switch..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 01 4c 60 00 | 00 24 f7 ab 1c f4 ee ab |.....L`.|.$......|
|00000060| 1c f4 ee 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 50 e6 00 00 |........|....P...|
|00000080| 00 00 6e 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..n.STAK|........|
|00000090| 00 00 00 0a 00 01 4c 60 | 00 00 6e 00 00 00 00 00 |......L`|..n.....|
|000000a0| 00 00 00 00 00 00 00 03 | 00 00 0a a1 00 00 00 15 |........|........|
|000000b0| 00 00 0b 3f 00 00 09 aa | 00 00 00 00 00 00 00 00 |...?....|........|
|000000c0| 00 00 0e fc 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 10 80 00 02 10 80 00 | 02 10 80 00 02 10 80 00 |........|........|
|000000f0| 03 57 6f ba 00 00 00 09 | 00 27 00 00 01 4f 02 00 |.Wo.....|.'...O..|
|00000100| 00 00 00 00 01 56 02 00 | 00 00 00 00 00 00 00 00 |.....V..|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d f7 00 00 0c 3e | 01 28 02 00 00 00 00 00 |.......>|.(......|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | ff 00 00 00 ff 00 00 00 |."."."."|........|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 6f 6e 20 63 6f 6e 74 72 | 6f 6c 4b 65 79 20 74 68 |on contr|olKey th|
|00000690| 65 6e 75 6d 0d 69 66 20 | 74 68 65 6e 75 6d 20 69 |enum.if |thenum i|
|000006a0| 73 20 32 33 20 6f 72 20 | 74 68 65 6e 75 6d 20 69 |s 23 or |thenum i|
|000006b0| 73 20 33 20 74 68 65 6e | 0d 73 65 74 20 74 68 65 |s 3 then|.set the|
|000006c0| 20 76 69 73 69 62 6c 65 | 20 6f 66 20 66 6c 64 20 | visible| of fld |
|000006d0| 22 74 6f 63 22 20 74 6f | 20 6e 6f 74 20 74 68 65 |"toc" to| not the|
|000006e0| 20 76 69 73 69 62 6c 65 | 20 6f 66 20 66 6c 64 20 | visible| of fld |
|000006f0| 22 74 6f 63 22 0d 73 65 | 74 20 74 68 65 20 76 69 |"toc".se|t the vi|
|00000700| 73 69 62 6c 65 20 6f 66 | 20 66 6c 64 20 22 74 68 |sible of| fld "th|
|00000710| 65 6d 61 73 74 65 72 22 | 20 74 6f 20 74 68 65 20 |emaster"| to the |
|00000720| 76 69 73 69 62 6c 65 20 | 6f 66 20 66 6c 64 20 22 |visible |of fld "|
|00000730| 74 6f 63 22 0d 65 6c 73 | 65 20 69 66 20 74 68 65 |toc".els|e if the|
|00000740| 6e 75 6d 20 69 73 20 39 | 20 74 68 65 6e 20 73 62 |num is 9| then sb|
|00000750| 6f 61 74 0d 65 6c 73 65 | 20 70 61 73 73 20 63 6f |oat.else| pass co|
|00000760| 6e 74 72 6f 6c 4b 65 79 | 0d 65 6e 64 20 63 6f 6e |ntrolKey|.end con|
|00000770| 74 72 6f 6c 4b 65 79 0d | 6f 6e 20 6e 65 77 53 74 |trolKey.|on newSt|
|00000780| 61 63 6b 0d 70 75 74 20 | 31 20 69 6e 74 6f 20 66 |ack.put |1 into f|
|00000790| 69 65 6c 64 20 22 63 6f | 6c 4e 75 6d 62 65 72 22 |ield "co|lNumber"|
|000007a0| 0d 70 75 74 20 31 20 69 | 6e 74 6f 20 66 69 65 6c |.put 1 i|nto fiel|
|000007b0| 64 20 22 72 6f 77 4e 75 | 6d 62 65 72 22 0d 70 61 |d "rowNu|mber".pa|
|000007c0| 73 73 20 6e 65 77 53 74 | 61 63 6b 0d 65 6e 64 20 |ss newSt|ack.end |
|000007d0| 6e 65 77 53 74 61 63 6b | 0d 6f 6e 20 6e 65 77 43 |newStack|.on newC|
|000007e0| 61 72 64 0d 67 6c 6f 62 | 61 6c 20 62 73 6d 73 0d |ard.glob|al bsms.|
|000007f0| 69 66 20 62 73 6d 73 20 | 69 73 20 6e 6f 74 20 65 |if bsms |is not e|
|00000800| 6d 70 74 79 20 74 68 65 | 6e 20 69 66 20 22 6c 69 |mpty the|n if "li|
|00000810| 6e 78 72 65 73 22 20 69 | 73 20 6e 6f 74 20 69 6e |nxres" i|s not in|
|00000820| 20 74 68 65 20 73 74 61 | 63 6b 73 49 6e 55 73 65 | the sta|cksInUse|
|00000830| 20 74 68 65 6e 20 70 75 | 74 20 74 68 65 20 6e 75 | then pu|t the nu|
|00000840| 6d 62 65 72 20 6f 66 20 | 74 68 69 73 20 63 61 72 |mber of |this car|
|00000850| 64 20 69 6e 74 6f 20 66 | 69 65 6c 64 20 22 63 6f |d into f|ield "co|
|00000860| 6c 4e 75 6d 62 65 72 22 | 20 2d 2d 20 6c 79 73 20 |lNumber"| -- lys |
|00000870| 69 6d 70 6f 72 74 20 63 | 6f 6d 70 61 74 69 62 69 |import c|ompatibi|
|00000880| 6c 69 79 0d 70 61 73 73 | 20 6e 65 77 43 61 72 64 |liy.pass| newCard|
|00000890| 0d 65 6e 64 20 6e 65 77 | 43 61 72 64 0d 0d 6f 6e |.end new|Card..on|
|000008a0| 20 61 72 72 6f 77 4b 65 | 79 20 64 72 63 0d 69 66 | arrowKe|y drc.if|
|000008b0| 20 74 68 65 20 73 65 6c | 65 63 74 65 64 63 68 75 | the sel|ectedchu|
|000008c0| 6e 6b 20 69 73 20 6e 6f | 74 20 65 6d 70 74 79 20 |nk is no|t empty |
|000008d0| 74 68 65 6e 20 70 61 73 | 73 20 61 72 72 6f 77 6b |then pas|s arrowk|
|000008e0| 65 79 0d 69 66 20 64 72 | 63 20 69 73 20 22 72 69 |ey.if dr|c is "ri|
|000008f0| 67 68 74 22 20 74 68 65 | 6e 20 73 65 6e 64 20 6e |ght" the|n send n|
|00000900| 78 63 64 0d 69 66 20 64 | 72 63 20 69 73 20 22 64 |xcd.if d|rc is "d|
|00000910| 6f 77 6e 22 20 74 68 65 | 6e 20 6e 78 62 67 0d 69 |own" the|n nxbg.i|
|00000920| 66 20 64 72 63 20 69 73 | 20 22 6c 65 66 74 22 20 |f drc is| "left" |
|00000930| 74 68 65 6e 20 70 72 63 | 64 0d 69 66 20 64 72 63 |then prc|d.if drc|
|00000940| 20 69 73 20 22 75 70 22 | 20 74 68 65 6e 20 70 72 | is "up"| then pr|
|00000950| 62 67 0d 65 78 69 74 20 | 74 6f 20 68 79 70 65 72 |bg.exit |to hyper|
|00000960| 63 61 72 64 20 2d 2d 20 | 49 20 73 68 6f 75 6c 64 |card -- |I should|
|00000970| 6e d5 74 20 68 61 76 65 | 20 74 6f 20 64 6f 20 74 |n.t have| to do t|
|00000980| 68 69 73 21 0d 65 6e 64 | 20 61 72 72 6f 77 4b 65 |his!.end| arrowKe|
|00000990| 79 0d 0d 6f 6e 20 6c 69 | 73 74 72 6f 77 73 0d 70 |y..on li|strows.p|
|000009a0| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 6d 79 |ut empty| into my|
|000009b0| 6c 69 73 74 0d 70 75 74 | 20 22 50 69 63 6b 20 61 |list.put| "Pick a|
|000009c0| 20 72 6f 77 3a 22 20 69 | 6e 74 6f 20 70 72 20 2d | row:" i|nto pr -|
|000009d0| 2d 20 c6 0d 70 75 74 20 | 74 68 65 20 6e 75 6d 62 |- ..put |the numb|
|000009e0| 65 72 20 6f 66 20 74 68 | 69 73 20 62 67 20 69 6e |er of th|is bg in|
|000009f0| 74 6f 20 62 6e 0d 70 75 | 74 20 66 6c 64 20 22 63 |to bn.pu|t fld "c|
|00000a00| 6f 6c 4e 75 6d 62 65 72 | 22 20 69 6e 74 6f 20 63 |olNumber|" into c|
|00000a10| 6e 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 20 |n.repeat| with i |
|00000a20| 3d 20 31 20 74 6f 20 74 | 68 65 20 6e 75 6d 62 65 |= 1 to t|he numbe|
|00000a30| 72 20 6f 66 20 62 67 73 | 0d 73 65 74 20 63 75 72 |r of bgs|.set cur|
|00000a40| 73 6f 72 20 74 6f 20 62 | 75 73 79 0d 70 75 74 20 |sor to b|usy.put |
|00000a50| 28 6c 69 6e 65 20 31 20 | 6f 66 20 66 6c 64 20 22 |(line 1 |of fld "|
|00000a60| 72 6f 77 6e 61 6d 65 22 | 20 6f 66 20 63 64 20 63 |rowname"| of cd c|
|00000a70| 6e 20 6f 66 20 62 67 20 | 69 29 20 26 20 72 65 74 |n of bg |i) & ret|
|00000a80| 75 72 6e 20 61 66 74 65 | 72 20 6d 79 6c 69 73 74 |urn afte|r mylist|
|00000a90| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 67 65 74 20 |.end rep|eat.get |
|00000aa0| 73 68 6f 77 4c 69 73 74 | 28 6d 79 6c 69 73 74 2c |showList|(mylist,|
|00000ab0| 70 72 2c 66 61 6c 73 65 | 2c 66 61 6c 73 65 2c 22 |pr,false|,false,"|
|00000ac0| 50 69 63 6b 2c 4d 61 72 | 6b 2c 55 6e 6d 61 72 6b |Pick,Mar|k,Unmark|
|00000ad0| 2c 43 61 6e 63 65 6c 22 | 2c 62 6e 2c 36 34 2c 36 |,Cancel"|,bn,64,6|
|00000ae0| 34 29 20 2d 2d 20 c6 0d | 69 66 20 6c 69 6e 65 20 |4) -- ..|if line |
|00000af0| 31 20 6f 66 20 69 74 20 | 69 73 20 22 43 61 6e 63 |1 of it |is "Canc|
|00000b00| 65 6c 22 20 74 68 65 6e | 20 65 78 69 74 20 6c 69 |el" then| exit li|
|00000b10| 73 74 72 6f 77 73 20 2d | 2d 20 c6 0d 70 75 74 20 |strows -|- ..put |
|00000b20| 6c 69 6e 65 20 31 20 6f | 66 20 69 74 20 69 6e 74 |line 1 o|f it int|
|00000b30| 6f 20 74 68 65 61 63 74 | 0d 70 75 74 20 69 74 65 |o theact|.put ite|
|00000b40| 6d 20 31 20 6f 66 20 6c | 69 6e 65 20 32 20 6f 66 |m 1 of l|ine 2 of|
|00000b50| 20 69 74 20 69 6e 74 6f | 20 74 68 65 70 69 63 6b | it into| thepick|
|00000b60| 0d 67 6f 20 74 68 69 73 | 20 63 61 72 64 0d 69 66 |.go this| card.if|
|00000b70| 20 74 68 65 70 69 63 6b | 20 69 73 20 6e 6f 74 20 | thepick| is not |
|00000b80| 65 6d 70 74 79 20 74 68 | 65 6e 0d 6c 6f 63 6b 20 |empty th|en.lock |
|00000b90| 73 63 72 65 65 6e 0d 73 | 65 74 20 63 75 72 73 6f |screen.s|et curso|
|00000ba0| 72 20 74 6f 20 77 61 74 | 63 68 0d 67 6f 20 63 61 |r to wat|ch.go ca|
|00000bb0| 72 64 20 63 6e 20 6f 66 | 20 62 67 20 74 68 65 70 |rd cn of| bg thep|
|00000bc0| 69 63 6b 0d 69 66 20 74 | 68 65 61 63 74 20 69 73 |ick.if t|heact is|
|00000bd0| 20 6e 6f 74 20 22 50 69 | 63 6b 22 20 74 68 65 6e | not "Pi|ck" then|
|00000be0| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 69 20 3d |.repeat |with i =|
|00000bf0| 20 31 20 74 6f 20 74 68 | 65 20 6e 75 6d 62 65 72 | 1 to th|e number|
|00000c00| 20 6f 66 20 63 64 73 20 | 69 6e 20 74 68 69 73 20 | of cds |in this |
|00000c10| 62 67 0d 69 66 20 74 68 | 65 61 63 74 20 69 73 20 |bg.if th|eact is |
|00000c20| 22 4d 61 72 6b 22 20 74 | 68 65 6e 20 6d 61 72 6b |"Mark" t|hen mark|
|00000c30| 20 63 61 72 64 20 69 20 | 6f 66 20 74 68 69 73 20 | card i |of this |
|00000c40| 62 67 0d 65 6c 73 65 20 | 75 6e 6d 61 72 6b 20 63 |bg.else |unmark c|
|00000c50| 61 72 64 20 69 20 6f 66 | 20 74 68 69 73 20 62 67 |ard i of| this bg|
|00000c60| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 6f 70 65 6e |.end rep|eat.open|
|00000c70| 63 61 72 64 0d 65 6e 64 | 20 69 66 0d 75 6e 6c 6f |card.end| if.unlo|
|00000c80| 63 6b 20 73 63 72 65 65 | 6e 20 77 69 74 68 20 76 |ck scree|n with v|
|00000c90| 69 73 75 61 6c 20 22 64 | 69 73 73 6f 6c 76 65 22 |isual "d|issolve"|
|00000ca0| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 6c 69 73 74 |.end if.|end list|
|00000cb0| 72 6f 77 73 0d 6f 6e 20 | 6c 69 73 74 63 6f 6c 73 |rows.on |listcols|
|00000cc0| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00000cd0| 6d 79 6c 69 73 74 0d 70 | 75 74 20 22 50 69 63 6b |mylist.p|ut "Pick|
|00000ce0| 20 61 20 63 6f 6c 75 6d | 6e 3a 22 20 69 6e 74 6f | a colum|n:" into|
|00000cf0| 20 70 72 20 2d 2d 20 c6 | 0d 70 75 74 20 66 6c 64 | pr -- .|.put fld|
|00000d00| 20 22 63 6f 6c 4e 75 6d | 62 65 72 22 20 69 6e 74 | "colNum|ber" int|
|00000d10| 6f 20 63 6e 0d 72 65 70 | 65 61 74 20 77 69 74 68 |o cn.rep|eat with|
|00000d20| 20 69 20 3d 20 31 20 74 | 6f 20 74 68 65 20 6e 75 | i = 1 t|o the nu|
|00000d30| 6d 62 65 72 20 6f 66 20 | 63 64 73 20 69 6e 20 74 |mber of |cds in t|
|00000d40| 68 69 73 20 62 67 0d 73 | 65 74 20 63 75 72 73 6f |his bg.s|et curso|
|00000d50| 72 20 74 6f 20 62 75 73 | 79 0d 70 75 74 20 28 6c |r to bus|y.put (l|
|00000d60| 69 6e 65 20 31 20 6f 66 | 20 66 6c 64 20 22 63 6f |ine 1 of| fld "co|
|00000d70| 6c 6e 61 6d 65 22 20 6f | 66 20 63 64 20 69 20 6f |lname" o|f cd i o|
|00000d80| 66 20 74 68 69 73 20 62 | 67 29 20 26 20 72 65 74 |f this b|g) & ret|
|00000d90| 75 72 6e 20 61 66 74 65 | 72 20 6d 79 6c 69 73 74 |urn afte|r mylist|
|00000da0| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 67 65 74 20 |.end rep|eat.get |
|00000db0| 73 68 6f 77 4c 69 73 74 | 28 6d 79 6c 69 73 74 2c |showList|(mylist,|
|00000dc0| 70 72 2c 66 61 6c 73 65 | 2c 74 72 75 65 2c 22 50 |pr,false|,true,"P|
|00000dd0| 69 63 6b 2c 4d 61 72 6b | 2c 55 6e 6d 61 72 6b 2c |ick,Mark|,Unmark,|
|00000de0| 43 61 6e 63 65 6c 22 2c | 63 6e 2c 36 34 2c 36 34 |Cancel",|cn,64,64|
|00000df0| 29 20 2d 2d 20 c6 0d 69 | 66 20 6c 69 6e 65 20 31 |) -- ..i|f line 1|
|00000e00| 20 6f 66 20 69 74 20 69 | 73 20 22 43 61 6e 63 65 | of it i|s "Cance|
|00000e10| 6c 22 20 74 68 65 6e 20 | 65 78 69 74 20 6c 69 73 |l" then |exit lis|
|00000e20| 74 63 6f 6c 73 20 2d 2d | 20 c6 0d 70 75 74 20 6c |tcols --| ..put l|
|00000e30| 69 6e 65 20 31 20 6f 66 | 20 69 74 20 69 6e 74 6f |ine 1 of| it into|
|00000e40| 20 74 68 65 61 63 74 0d | 70 75 74 20 69 74 65 6d | theact.|put item|
|00000e50| 20 31 20 6f 66 20 6c 69 | 6e 65 20 32 20 6f 66 20 | 1 of li|ne 2 of |
|00000e60| 69 74 20 69 6e 74 6f 20 | 74 68 65 70 69 63 6b 0d |it into |thepick.|
|00000e70| 67 6f 20 74 68 69 73 20 | 63 61 72 64 0d 69 66 20 |go this |card.if |
|00000e80| 74 68 65 70 69 63 6b 20 | 69 73 20 6e 6f 74 20 65 |thepick |is not e|
|00000e90| 6d 70 74 79 20 74 68 65 | 6e 0d 6c 6f 63 6b 20 73 |mpty the|n.lock s|
|00000ea0| 63 72 65 65 6e 0d 73 65 | 74 20 63 75 72 73 6f 72 |creen.se|t cursor|
|00000eb0| 20 74 6f 20 77 61 74 63 | 68 0d 67 6f 20 63 61 72 | to watc|h.go car|
|00000ec0| 64 20 74 68 65 70 69 63 | 6b 20 6f 66 20 74 68 69 |d thepic|k of thi|
|00000ed0| 73 20 62 67 0d 69 66 20 | 74 68 65 61 63 74 20 69 |s bg.if |theact i|
|00000ee0| 73 20 6e 6f 74 20 22 50 | 69 63 6b 22 20 74 68 65 |s not "P|ick" the|
|00000ef0| 6e 0d 70 75 74 20 66 69 | 65 6c 64 20 22 63 6f 6c |n.put fi|eld "col|
|00000f00| 4e 75 6d 62 65 72 22 20 | 69 6e 74 6f 20 63 6e 0d |Number" |into cn.|
|00000f10| 72 65 70 65 61 74 20 77 | 69 74 68 20 69 20 3d 20 |repeat w|ith i = |
|00000f20| 31 20 74 6f 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |1 to the| number |
|00000f30| 6f 66 20 62 67 73 0d 69 | 66 20 74 68 65 61 63 74 |of bgs.i|f theact|
|00000f40| 20 69 73 20 22 4d 61 72 | 6b 22 20 74 68 65 6e 20 | is "Mar|k" then |
|00000f50| 6d 61 72 6b 20 63 61 72 | 64 20 63 6e 20 6f 66 20 |mark car|d cn of |
|00000f60| 62 67 20 69 0d 65 6c 73 | 65 20 75 6e 6d 61 72 6b |bg i.els|e unmark|
|00000f70| 20 63 61 72 64 20 63 6e | 20 6f 66 20 62 67 20 69 | card cn| of bg i|
|00000f80| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 6f 70 65 6e |.end rep|eat.open|
|00000f90| 63 61 72 64 0d 65 6e 64 | 20 69 66 0d 75 6e 6c 6f |card.end| if.unlo|
|00000fa0| 63 6b 20 73 63 72 65 65 | 6e 20 77 69 74 68 20 76 |ck scree|n with v|
|00000fb0| 69 73 75 61 6c 20 22 64 | 69 73 73 6f 6c 76 65 22 |isual "d|issolve"|
|00000fc0| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 6c 69 73 74 |.end if.|end list|
|00000fd0| 63 6f 6c 73 0d 0d 6f 6e | 20 70 72 62 67 0d 6c 6f |cols..on| prbg.lo|
|00000fe0| 63 6b 20 73 63 72 65 65 | 6e 0d 67 65 74 20 66 69 |ck scree|n.get fi|
|00000ff0| 65 6c 64 20 22 63 6f 6c | 4e 75 6d 62 65 72 22 0d |eld "col|Number".|
|00001000| 69 66 20 74 68 65 20 63 | 6f 6d 6d 61 6e 64 4b 65 |if the c|ommandKe|
|00001010| 79 20 69 73 20 64 6f 77 | 6e 20 74 68 65 6e 20 67 |y is dow|n then g|
|00001020| 6f 20 63 61 72 64 20 69 | 74 20 6f 66 20 66 69 72 |o card i|t of fir|
|00001030| 73 74 20 62 67 0d 65 6c | 73 65 20 67 6f 20 63 61 |st bg.el|se go ca|
|00001040| 72 64 20 69 74 20 6f 66 | 20 70 72 65 76 69 6f 75 |rd it of| previou|
|00001050| 73 20 62 67 0d 75 6e 6c | 6f 63 6b 20 73 63 72 65 |s bg.unl|ock scre|
|00001060| 65 6e 20 77 69 74 68 20 | 76 69 73 75 61 6c 20 77 |en with |visual w|
|00001070| 69 70 65 20 64 6f 77 6e | 0d 65 6e 64 20 70 72 62 |ipe down|.end prb|
|00001080| 67 0d 6f 6e 20 6e 78 62 | 67 0d 6c 6f 63 6b 20 73 |g.on nxb|g.lock s|
|00001090| 63 72 65 65 6e 0d 67 65 | 74 20 66 69 65 6c 64 20 |creen.ge|t field |
|000010a0| 22 63 6f 6c 4e 75 6d 62 | 65 72 22 0d 69 66 20 74 |"colNumb|er".if t|
|000010b0| 68 65 20 63 6f 6d 6d 61 | 6e 64 4b 65 79 20 69 73 |he comma|ndKey is|
|000010c0| 20 64 6f 77 6e 20 74 68 | 65 6e 20 67 6f 20 63 61 | down th|en go ca|
|000010d0| 72 64 20 69 74 20 6f 66 | 20 6c 61 73 74 20 62 67 |rd it of| last bg|
|000010e0| 0d 65 6c 73 65 20 67 6f | 20 63 61 72 64 20 69 74 |.else go| card it|
|000010f0| 20 6f 66 20 6e 65 78 74 | 20 62 67 0d 75 6e 6c 6f | of next| bg.unlo|
|00001100| 63 6b 20 73 63 72 65 65 | 6e 20 77 69 74 68 20 76 |ck scree|n with v|
|00001110| 69 73 75 61 6c 20 77 69 | 70 65 20 75 70 0d 65 6e |isual wi|pe up.en|
|00001120| 64 20 6e 78 62 67 0d 6f | 6e 20 70 72 63 64 0d 6c |d nxbg.o|n prcd.l|
|00001130| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 69 66 20 74 68 |ock scre|en.if th|
|00001140| 65 20 63 6f 6d 6d 61 6e | 64 4b 65 79 20 69 73 20 |e comman|dKey is |
|00001150| 64 6f 77 6e 20 74 68 65 | 6e 20 67 6f 20 66 69 72 |down the|n go fir|
|00001160| 73 74 20 63 61 72 64 20 | 6f 66 20 74 68 69 73 20 |st card |of this |
|00001170| 62 67 0d 65 6c 73 65 20 | 67 6f 20 70 72 65 76 69 |bg.else |go previ|
|00001180| 6f 75 73 20 63 61 72 64 | 20 6f 66 20 74 68 69 73 |ous card| of this|
|00001190| 20 62 67 0d 75 6e 6c 6f | 63 6b 20 73 63 72 65 65 | bg.unlo|ck scree|
|000011a0| 6e 20 77 69 74 68 20 76 | 69 73 75 61 6c 20 77 69 |n with v|isual wi|
|000011b0| 70 65 20 72 69 67 68 74 | 0d 65 6e 64 20 70 72 63 |pe right|.end prc|
|000011c0| 64 0d 6f 6e 20 6e 78 63 | 64 0d 6c 6f 63 6b 20 73 |d.on nxc|d.lock s|
|000011d0| 63 72 65 65 6e 0d 69 66 | 20 74 68 65 20 63 6f 6d |creen.if| the com|
|000011e0| 6d 61 6e 64 4b 65 79 20 | 69 73 20 64 6f 77 6e 20 |mandKey |is down |
|000011f0| 74 68 65 6e 20 67 6f 20 | 6c 61 73 74 20 63 61 72 |then go |last car|
|00001200| 64 20 6f 66 20 74 68 69 | 73 20 62 67 0d 65 6c 73 |d of thi|s bg.els|
|00001210| 65 20 67 6f 20 6e 65 78 | 74 20 63 61 72 64 20 6f |e go nex|t card o|
|00001220| 66 20 74 68 69 73 20 62 | 67 0d 75 6e 6c 6f 63 6b |f this b|g.unlock|
|00001230| 20 73 63 72 65 65 6e 20 | 77 69 74 68 20 76 69 73 | screen |with vis|
|00001240| 75 61 6c 20 77 69 70 65 | 20 6c 65 66 74 0d 65 6e |ual wipe| left.en|
|00001250| 64 20 6e 78 63 64 0d 6f | 6e 20 62 6f 78 6d 6f 76 |d nxcd.o|n boxmov|
|00001260| 65 0d 70 75 74 20 74 68 | 65 20 72 65 63 74 20 6f |e.put th|e rect o|
|00001270| 66 20 62 67 20 62 74 6e | 20 22 73 68 65 65 74 22 |f bg btn| "sheet"|
|00001280| 20 69 6e 74 6f 20 74 72 | 0d 61 64 64 20 38 20 74 | into tr|.add 8 t|
|00001290| 6f 20 69 74 65 6d 20 31 | 20 6f 66 20 74 72 0d 61 |o item 1| of tr.a|
|000012a0| 64 64 20 38 20 74 6f 20 | 69 74 65 6d 20 32 20 6f |dd 8 to |item 2 o|
|000012b0| 66 20 74 72 0d 73 75 62 | 74 72 61 63 74 20 38 20 |f tr.sub|tract 8 |
|000012c0| 66 72 6f 6d 20 69 74 65 | 6d 20 33 20 6f 66 20 74 |from ite|m 3 of t|
|000012d0| 72 0d 73 75 62 74 72 61 | 63 74 20 38 20 66 72 6f |r.subtra|ct 8 fro|
|000012e0| 6d 20 69 74 65 6d 20 34 | 20 6f 66 20 74 72 0d 72 |m item 4| of tr.r|
|000012f0| 65 70 65 61 74 20 66 6f | 72 65 76 65 72 0d 70 75 |epeat fo|rever.pu|
|00001300| 74 20 74 68 65 20 6d 6f | 75 73 65 6c 6f 63 20 69 |t the mo|useloc i|
|00001310| 6e 74 6f 20 74 68 65 6c | 6f 63 0d 70 75 74 20 6d |nto thel|oc.put m|
|00001320| 61 78 28 69 74 65 6d 20 | 31 20 6f 66 20 74 72 2c |ax(item |1 of tr,|
|00001330| 69 74 65 6d 20 31 20 6f | 66 20 74 68 65 6c 6f 63 |item 1 o|f theloc|
|00001340| 29 20 69 6e 74 6f 20 69 | 74 65 6d 20 31 20 6f 66 |) into i|tem 1 of|
|00001350| 20 6d 6c 0d 70 75 74 20 | 6d 61 78 28 69 74 65 6d | ml.put |max(item|
|00001360| 20 32 20 6f 66 20 74 72 | 2c 69 74 65 6d 20 32 20 | 2 of tr|,item 2 |
|00001370| 6f 66 20 74 68 65 6c 6f | 63 29 20 69 6e 74 6f 20 |of thelo|c) into |
|00001380| 69 74 65 6d 20 32 20 6f | 66 20 6d 6c 0d 70 75 74 |item 2 o|f ml.put|
|00001390| 20 6d 69 6e 28 69 74 65 | 6d 20 33 20 6f 66 20 74 | min(ite|m 3 of t|
|000013a0| 72 2c 69 74 65 6d 20 31 | 20 6f 66 20 6d 6c 29 20 |r,item 1| of ml) |
|000013b0| 69 6e 74 6f 20 69 74 65 | 6d 20 31 20 6f 66 20 6d |into ite|m 1 of m|
|000013c0| 6c 0d 70 75 74 20 6d 69 | 6e 28 69 74 65 6d 20 34 |l.put mi|n(item 4|
|000013d0| 20 6f 66 20 74 72 2c 69 | 74 65 6d 20 32 20 6f 66 | of tr,i|tem 2 of|
|000013e0| 20 6d 6c 29 20 69 6e 74 | 6f 20 69 74 65 6d 20 32 | ml) int|o item 2|
|000013f0| 20 6f 66 20 6d 6c 0d 73 | 65 74 20 74 68 65 20 6c | of ml.s|et the l|
|00001400| 6f 63 20 6f 66 20 74 68 | 65 20 74 61 72 67 65 74 |oc of th|e target|
|00001410| 20 74 6f 20 6d 6c 0d 69 | 66 20 74 68 65 20 6d 6f | to ml.i|f the mo|
|00001420| 75 73 65 20 69 73 20 75 | 70 20 74 68 65 6e 20 65 |use is u|p then e|
|00001430| 78 69 74 20 72 65 70 65 | 61 74 0d 65 6e 64 20 72 |xit repe|at.end r|
|00001440| 65 70 65 61 74 0d 6c 6f | 63 6b 74 69 74 65 0d 70 |epeat.lo|cktite.p|
|00001450| 75 74 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |ut the n|umber of|
|00001460| 20 62 67 73 20 69 6e 74 | 6f 20 79 0d 70 75 74 20 | bgs int|o y.put |
|00001470| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 63 61 |the numb|er of ca|
|00001480| 72 64 73 20 69 6e 20 74 | 68 69 73 20 62 67 20 69 |rds in t|his bg i|
|00001490| 6e 74 6f 20 78 0d 70 75 | 74 20 69 74 65 6d 20 33 |nto x.pu|t item 3|
|000014a0| 20 6f 66 20 74 72 20 2d | 20 69 74 65 6d 20 31 20 | of tr -| item 1 |
|000014b0| 6f 66 20 74 72 20 69 6e | 74 6f 20 64 78 0d 70 75 |of tr in|to dx.pu|
|000014c0| 74 20 69 74 65 6d 20 31 | 20 6f 66 20 6d 6c 20 2d |t item 1| of ml -|
|000014d0| 20 69 74 65 6d 20 31 20 | 6f 66 20 74 72 20 69 6e | item 1 |of tr in|
|000014e0| 74 6f 20 6d 78 0d 70 75 | 74 20 69 74 65 6d 20 34 |to mx.pu|t item 4|
|000014f0| 20 6f 66 20 74 72 20 2d | 20 69 74 65 6d 20 32 20 | of tr -| item 2 |
|00001500| 6f 66 20 74 72 20 69 6e | 74 6f 20 64 79 0d 70 75 |of tr in|to dy.pu|
|00001510| 74 20 69 74 65 6d 20 32 | 20 6f 66 20 6d 6c 20 2d |t item 2| of ml -|
|00001520| 20 69 74 65 6d 20 32 20 | 6f 66 20 74 72 20 69 6e | item 2 |of tr in|
|00001530| 74 6f 20 6d 79 0d 70 75 | 74 20 78 2a 6d 78 2f 64 |to my.pu|t x*mx/d|
|00001540| 78 20 69 6e 74 6f 20 6e | 78 0d 70 75 74 20 79 2a |x into n|x.put y*|
|00001550| 6d 79 2f 64 79 20 69 6e | 74 6f 20 6e 79 0d 69 66 |my/dy in|to ny.if|
|00001560| 20 6e 78 3c 31 20 74 68 | 65 6e 20 70 75 74 20 31 | nx<1 th|en put 1|
|00001570| 20 69 6e 74 6f 20 6e 78 | 0d 65 6c 73 65 20 70 75 | into nx|.else pu|
|00001580| 74 20 74 72 75 6e 63 28 | 30 2e 39 2b 6e 78 29 20 |t trunc(|0.9+nx) |
|00001590| 69 6e 74 6f 20 6e 78 0d | 69 66 20 6e 79 3c 31 20 |into nx.|if ny<1 |
|000015a0| 74 68 65 6e 20 70 75 74 | 20 31 20 69 6e 74 6f 20 |then put| 1 into |
|000015b0| 6e 79 0d 65 6c 73 65 20 | 70 75 74 20 74 72 75 6e |ny.else |put trun|
|000015c0| 63 28 30 2e 39 2b 6e 79 | 29 20 69 6e 74 6f 20 6e |c(0.9+ny|) into n|
|000015d0| 79 0d 67 6f 20 63 61 72 | 64 20 6e 78 20 6f 66 20 |y.go car|d nx of |
|000015e0| 62 67 20 6e 79 0d 6f 70 | 65 6e 63 61 72 64 0d 75 |bg ny.op|encard.u|
|000015f0| 6e 6c 6f 63 6b 20 73 63 | 72 65 65 6e 20 77 69 74 |nlock sc|reen wit|
|00001600| 68 20 76 69 73 75 61 6c | 20 22 64 69 73 73 6f 6c |h visual| "dissol|
|00001610| 76 65 22 0d 65 78 69 74 | 20 74 6f 20 48 79 70 65 |ve".exit| to Hype|
|00001620| 72 43 61 72 64 0d 65 6e | 64 20 62 6f 78 6d 6f 76 |rCard.en|d boxmov|
|00001630| 65 0d 6f 6e 20 6d 6f 76 | 65 62 6f 78 0d 70 75 74 |e.on mov|ebox.put|
|00001640| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 62 | the num|ber of b|
|00001650| 67 73 20 69 6e 74 6f 20 | 6e 62 67 73 0d 70 75 74 |gs into |nbgs.put|
|00001660| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 63 | the num|ber of c|
|00001670| 64 73 20 69 6e 20 74 68 | 69 73 20 62 67 20 69 6e |ds in th|is bg in|
|00001680| 74 6f 20 6e 63 64 73 0d | 69 66 20 6e 62 67 73 3d |to ncds.|if nbgs=|
|00001690| 31 20 74 68 65 6e 20 70 | 75 74 20 32 20 69 6e 74 |1 then p|ut 2 int|
|000016a0| 6f 20 6e 62 67 73 0d 69 | 66 20 6e 63 64 73 3d 31 |o nbgs.i|f ncds=1|
|000016b0| 20 74 68 65 6e 20 70 75 | 74 20 32 20 69 6e 74 6f | then pu|t 2 into|
|000016c0| 20 6e 63 64 73 0d 70 75 | 74 20 74 68 65 20 72 65 | ncds.pu|t the re|
|000016d0| 63 74 20 6f 66 20 62 67 | 20 62 74 6e 20 22 73 68 |ct of bg| btn "sh|
|000016e0| 65 65 74 22 20 69 6e 74 | 6f 20 74 72 0d 73 75 62 |eet" int|o tr.sub|
|000016f0| 74 72 61 63 74 20 38 20 | 66 72 6f 6d 20 69 74 65 |tract 8 |from ite|
|00001700| 6d 20 33 20 6f 66 20 74 | 72 0d 73 75 62 74 72 61 |m 3 of t|r.subtra|
|00001710| 63 74 20 38 20 66 72 6f | 6d 20 69 74 65 6d 20 34 |ct 8 fro|m item 4|
|00001720| 20 6f 66 20 74 72 0d 61 | 64 64 20 38 20 74 6f 20 | of tr.a|dd 8 to |
|00001730| 69 74 65 6d 20 31 20 6f | 66 20 74 72 0d 61 64 64 |item 1 o|f tr.add|
|00001740| 20 38 20 74 6f 20 69 74 | 65 6d 20 32 20 6f 66 20 | 8 to it|em 2 of |
|00001750| 74 72 0d 70 75 74 20 66 | 69 65 6c 64 20 22 72 6f |tr.put f|ield "ro|
|00001760| 77 4e 75 6d 62 65 72 22 | 20 69 6e 74 6f 20 6e 62 |wNumber"| into nb|
|00001770| 67 0d 70 75 74 20 66 69 | 65 6c 64 20 22 63 6f 6c |g.put fi|eld "col|
|00001780| 4e 75 6d 62 65 72 22 20 | 69 6e 74 6f 20 6e 63 64 |Number" |into ncd|
|00001790| 0d 70 75 74 20 69 74 65 | 6d 20 31 20 6f 66 20 74 |.put ite|m 1 of t|
|000017a0| 72 2b 74 72 75 6e 63 28 | 28 6e 63 64 2d 31 29 2a |r+trunc(|(ncd-1)*|
|000017b0| 28 28 69 74 65 6d 20 33 | 20 6f 66 20 74 72 29 2d |((item 3| of tr)-|
|000017c0| 28 69 74 65 6d 20 31 20 | 6f 66 20 74 72 29 29 2f |(item 1 |of tr))/|
|000017d0| 28 6e 63 64 73 2d 31 29 | 29 20 69 6e 74 6f 20 69 |(ncds-1)|) into i|
|000017e0| 74 65 6d 20 31 20 6f 66 | 20 74 68 65 6c 6f 63 0d |tem 1 of| theloc.|
|000017f0| 70 75 74 20 69 74 65 6d | 20 32 20 6f 66 20 74 72 |put item| 2 of tr|
|00001800| 2b 74 72 75 6e 63 28 28 | 6e 62 67 2d 31 29 2a 28 |+trunc((|nbg-1)*(|
|00001810| 28 69 74 65 6d 20 34 20 | 6f 66 20 74 72 29 2d 28 |(item 4 |of tr)-(|
|00001820| 69 74 65 6d 20 32 20 6f | 66 20 74 72 29 29 2f 28 |item 2 o|f tr))/(|
|00001830| 6e 62 67 73 2d 31 29 29 | 20 69 6e 74 6f 20 69 74 |nbgs-1))| into it|
|00001840| 65 6d 20 32 20 6f 66 20 | 74 68 65 6c 6f 63 0d 73 |em 2 of |theloc.s|
|00001850| 65 74 20 74 68 65 20 6c | 6f 63 20 6f 66 20 62 67 |et the l|oc of bg|
|00001860| 20 62 74 6e 20 22 63 65 | 6c 6c 22 20 74 6f 20 74 | btn "ce|ll" to t|
|00001870| 68 65 6c 6f 63 0d 65 6e | 64 20 6d 6f 76 65 62 6f |heloc.en|d movebo|
|00001880| 78 0d 66 75 6e 63 74 69 | 6f 6e 20 72 65 64 0d 69 |x.functi|on red.i|
|00001890| 66 20 74 68 65 20 63 6f | 6d 6d 61 6e 64 4b 65 79 |f the co|mmandKey|
|000018a0| 20 69 73 20 64 6f 77 6e | 20 74 68 65 6e 20 72 65 | is down| then re|
|000018b0| 74 75 72 6e 20 22 59 22 | 0d 65 6c 73 65 20 72 65 |turn "Y"|.else re|
|000018c0| 74 75 72 6e 20 22 4e 22 | 0d 65 6e 64 20 72 65 64 |turn "N"|.end red|
|000018d0| 0d 6f 6e 20 65 78 70 6f | 72 74 0d 70 75 74 20 72 |.on expo|rt.put r|
|000018e0| 65 64 28 29 20 69 6e 74 | 6f 20 6d 64 73 0d 70 75 |ed() int|o mds.pu|
|000018f0| 74 20 73 68 6f 72 74 20 | 6e 61 6d 65 20 6f 66 20 |t short |name of |
|00001900| 74 68 69 73 20 73 74 61 | 63 6b 20 26 20 22 2e 54 |this sta|ck & ".T|
|00001910| 58 54 22 20 69 6e 74 6f | 20 74 68 65 66 69 6c 65 |XT" into| thefile|
|00001920| 0d 61 6e 73 77 65 72 20 | 22 52 6f 77 20 66 69 72 |.answer |"Row fir|
|00001930| 73 74 2c 20 6f 72 20 63 | 6f 6c 75 6d 6e 20 66 69 |st, or c|olumn fi|
|00001940| 72 73 74 3f 22 20 77 69 | 74 68 20 22 52 6f 77 22 |rst?" wi|th "Row"|
|00001950| 2c 22 43 6f 6c 75 6d 6e | 22 2c 22 43 61 6e 63 65 |,"Column|","Cance|
|00001960| 6c 22 0d 69 66 20 69 74 | 20 69 73 20 22 43 61 6e |l".if it| is "Can|
|00001970| 63 65 6c 22 20 74 68 65 | 6e 20 65 78 69 74 20 65 |cel" the|n exit e|
|00001980| 78 70 6f 72 74 0d 70 75 | 74 20 69 74 20 69 6e 74 |xport.pu|t it int|
|00001990| 6f 20 74 68 65 6d 6f 64 | 65 0d 70 75 74 20 70 6c |o themod|e.put pl|
|000019a0| 62 6c 28 29 20 69 6e 74 | 6f 20 6c 6d 6f 64 65 0d |bl() int|o lmode.|
|000019b0| 61 73 6b 20 66 69 6c 65 | 20 22 45 78 70 6f 72 74 |ask file| "Export|
|000019c0| 20 61 6c 6c 20 63 65 6c | 6c 73 20 74 6f 20 41 53 | all cel|ls to AS|
|000019d0| 43 49 49 22 20 77 69 74 | 68 20 74 68 65 66 69 6c |CII" wit|h thefil|
|000019e0| 65 0d 69 66 20 74 68 65 | 20 72 65 73 75 6c 74 20 |e.if the| result |
|000019f0| 69 73 20 22 63 61 6e 63 | 65 6c 22 20 6f 72 20 69 |is "canc|el" or i|
|00001a00| 74 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 20 |t is emp|ty then |
|00001a10| 65 78 69 74 20 65 78 70 | 6f 72 74 0d 70 75 74 20 |exit exp|ort.put |
|00001a20| 69 74 20 69 6e 74 6f 20 | 74 68 65 66 69 6c 65 0d |it into |thefile.|
|00001a30| 70 75 74 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |put the |number o|
|00001a40| 66 20 62 67 73 20 69 6e | 74 6f 20 6e 62 67 73 0d |f bgs in|to nbgs.|
|00001a50| 70 75 74 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |put the |number o|
|00001a60| 66 20 63 64 73 20 69 6e | 20 74 68 69 73 20 62 67 |f cds in| this bg|
|00001a70| 20 69 6e 74 6f 20 6e 63 | 64 73 0d 70 75 74 20 65 | into nc|ds.put e|
|00001a80| 6d 70 74 79 20 69 6e 74 | 6f 20 74 61 0d 6f 70 65 |mpty int|o ta.ope|
|00001a90| 6e 20 66 69 6c 65 20 74 | 68 65 66 69 6c 65 0d 69 |n file t|hefile.i|
|00001aa0| 66 20 74 68 65 6d 6f 64 | 65 20 69 73 20 22 52 6f |f themod|e is "Ro|
|00001ab0| 77 22 20 74 68 65 6e 0d | 72 65 70 65 61 74 20 77 |w" then.|repeat w|
|00001ac0| 69 74 68 20 69 20 3d 20 | 31 20 74 6f 20 6e 62 67 |ith i = |1 to nbg|
|00001ad0| 73 0d 69 66 20 6d 64 73 | 20 69 73 20 6e 6f 74 20 |s.if mds| is not |
|00001ae0| 22 59 22 20 74 68 65 6e | 20 70 75 74 20 28 66 6c |"Y" then| put (fl|
|00001af0| 64 20 22 72 6f 77 6e 61 | 6d 65 22 20 6f 66 20 63 |d "rowna|me" of c|
|00001b00| 64 20 31 20 6f 66 20 62 | 67 20 69 29 20 26 20 72 |d 1 of b|g i) & r|
|00001b10| 65 74 75 72 6e 20 61 66 | 74 65 72 20 74 61 0d 72 |eturn af|ter ta.r|
|00001b20| 65 70 65 61 74 20 77 69 | 74 68 20 6a 20 3d 20 31 |epeat wi|th j = 1|
|00001b30| 20 74 6f 20 6e 63 64 73 | 0d 69 66 20 6d 64 73 20 | to ncds|.if mds |
|00001b40| 69 73 20 22 59 22 20 74 | 68 65 6e 20 70 75 74 20 |is "Y" t|hen put |
|00001b50| 28 66 6c 64 20 22 72 6f | 77 6e 61 6d 65 22 20 6f |(fld "ro|wname" o|
|00001b60| 66 20 63 64 20 6a 20 6f | 66 20 62 67 20 69 29 20 |f cd j o|f bg i) |
|00001b70| 26 20 72 65 74 75 72 6e | 20 61 66 74 65 72 20 74 |& return| after t|
|00001b80| 61 0d 69 66 20 6c 6d 6f | 64 65 20 69 73 20 22 79 |a.if lmo|de is "y|
|00001b90| 65 73 22 20 74 68 65 6e | 20 70 75 74 20 28 66 6c |es" then| put (fl|
|00001ba0| 64 20 22 63 6f 6c 6e 61 | 6d 65 22 20 6f 66 20 63 |d "colna|me" of c|
|00001bb0| 64 20 6a 20 6f 66 20 62 | 67 20 69 29 20 26 20 72 |d j of b|g i) & r|
|00001bc0| 65 74 75 72 6e 20 61 66 | 74 65 72 20 74 61 0d 70 |eturn af|ter ta.p|
|00001bd0| 75 74 20 28 66 6c 64 20 | 22 6e 6f 74 65 73 22 20 |ut (fld |"notes" |
|00001be0| 6f 66 20 63 64 20 6a 20 | 6f 66 20 62 67 20 69 29 |of cd j |of bg i)|
|00001bf0| 20 26 20 72 65 74 75 72 | 6e 20 61 66 74 65 72 20 | & retur|n after |
|00001c00| 74 61 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 77 72 |ta.end r|epeat.wr|
|00001c10| 69 74 65 20 74 61 20 74 | 6f 20 66 69 6c 65 20 74 |ite ta t|o file t|
|00001c20| 68 65 66 69 6c 65 0d 70 | 75 74 20 65 6d 70 74 79 |hefile.p|ut empty|
|00001c30| 20 69 6e 74 6f 20 74 61 | 0d 65 6e 64 20 72 65 70 | into ta|.end rep|
|00001c40| 65 61 74 0d 65 6c 73 65 | 0d 72 65 70 65 61 74 20 |eat.else|.repeat |
|00001c50| 77 69 74 68 20 69 20 3d | 20 31 20 74 6f 20 6e 63 |with i =| 1 to nc|
|00001c60| 64 73 0d 69 66 20 6d 64 | 73 20 69 73 20 6e 6f 74 |ds.if md|s is not|
|00001c70| 20 22 59 22 20 74 68 65 | 6e 20 70 75 74 20 28 66 | "Y" the|n put (f|
|00001c80| 6c 64 20 22 63 6f 6c 6e | 61 6d 65 22 20 6f 66 20 |ld "coln|ame" of |
|00001c90| 63 64 20 69 20 6f 66 20 | 62 67 20 31 29 20 26 20 |cd i of |bg 1) & |
|00001ca0| 72 65 74 75 72 6e 20 61 | 66 74 65 72 20 74 61 0d |return a|fter ta.|
|00001cb0| 72 65 70 65 61 74 20 77 | 69 74 68 20 6a 20 3d 20 |repeat w|ith j = |
|00001cc0| 31 20 74 6f 20 6e 62 67 | 73 0d 69 66 20 6d 64 73 |1 to nbg|s.if mds|
|00001cd0| 20 69 73 20 22 59 22 20 | 74 68 65 6e 20 70 75 74 | is "Y" |then put|
|00001ce0| 20 28 66 6c 64 20 22 63 | 6f 6c 6e 61 6d 65 22 20 | (fld "c|olname" |
|00001cf0| 6f 66 20 63 64 20 69 20 | 6f 66 20 62 67 20 6a 29 |of cd i |of bg j)|
|00001d00| 20 26 20 72 65 74 75 72 | 6e 20 61 66 74 65 72 20 | & retur|n after |
|00001d10| 74 61 0d 69 66 20 6c 6d | 6f 64 65 20 69 73 20 22 |ta.if lm|ode is "|
|00001d20| 79 65 73 22 20 74 68 65 | 6e 20 70 75 74 20 28 66 |yes" the|n put (f|
|00001d30| 6c 64 20 22 72 6f 77 6e | 61 6d 65 22 20 6f 66 20 |ld "rown|ame" of |
|00001d40| 63 64 20 69 20 6f 66 20 | 62 67 20 6a 29 20 26 20 |cd i of |bg j) & |
|00001d50| 72 65 74 75 72 6e 20 61 | 66 74 65 72 20 74 61 0d |return a|fter ta.|
|00001d60| 70 75 74 20 28 66 6c 64 | 20 22 6e 6f 74 65 73 22 |put (fld| "notes"|
|00001d70| 20 6f 66 20 63 64 20 69 | 20 6f 66 20 62 67 20 6a | of cd i| of bg j|
|00001d80| 29 20 26 20 72 65 74 75 | 72 6e 20 61 66 74 65 72 |) & retu|rn after|
|00001d90| 20 74 61 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 77 | ta.end |repeat.w|
|00001da0| 72 69 74 65 20 74 61 20 | 74 6f 20 66 69 6c 65 20 |rite ta |to file |
|00001db0| 74 68 65 66 69 6c 65 0d | 70 75 74 20 65 6d 70 74 |thefile.|put empt|
|00001dc0| 79 20 69 6e 74 6f 20 74 | 61 0d 65 6e 64 20 72 65 |y into t|a.end re|
|00001dd0| 70 65 61 74 0d 65 6e 64 | 20 69 66 0d 63 6c 6f 73 |peat.end| if.clos|
|00001de0| 65 20 66 69 6c 65 20 74 | 68 65 66 69 6c 65 0d 65 |e file t|hefile.e|
|00001df0| 6e 64 20 65 78 70 6f 72 | 74 0d 0d 6f 6e 20 65 78 |nd expor|t..on ex|
|00001e00| 72 6f 0d 70 75 74 20 72 | 65 64 28 29 20 69 6e 74 |ro.put r|ed() int|
|00001e10| 6f 20 6d 64 73 0d 70 75 | 74 20 73 68 6f 72 74 20 |o mds.pu|t short |
|00001e20| 6e 61 6d 65 20 6f 66 20 | 74 68 69 73 20 73 74 61 |name of |this sta|
|00001e30| 63 6b 20 26 20 22 2e 52 | 6f 77 22 20 69 6e 74 6f |ck & ".R|ow" into|
|00001e40| 20 74 68 65 66 69 6c 65 | 0d 70 75 74 20 70 6c 62 | thefile|.put plb|
|00001e50| 6c 28 29 20 69 6e 74 6f | 20 74 68 65 6d 6f 64 65 |l() into| themode|
|00001e60| 0d 61 73 6b 20 66 69 6c | 65 20 22 45 78 70 6f 72 |.ask fil|e "Expor|
|00001e70| 74 20 52 6f 77 20 74 6f | 20 41 53 43 49 49 22 20 |t Row to| ASCII" |
|00001e80| 77 69 74 68 20 74 68 65 | 66 69 6c 65 0d 69 66 20 |with the|file.if |
|00001e90| 74 68 65 20 72 65 73 75 | 6c 74 20 69 73 20 22 63 |the resu|lt is "c|
|00001ea0| 61 6e 63 65 6c 22 20 6f | 72 20 69 74 20 69 73 20 |ancel" o|r it is |
|00001eb0| 65 6d 70 74 79 20 74 68 | 65 6e 20 65 78 69 74 20 |empty th|en exit |
|00001ec0| 65 78 72 6f 0d 70 75 74 | 20 69 74 20 69 6e 74 6f |exro.put| it into|
|00001ed0| 20 74 68 65 66 69 6c 65 | 0d 70 75 74 20 74 68 65 | thefile|.put the|
|00001ee0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 63 64 73 20 69 | number |of cds i|
|00001ef0| 6e 20 74 68 69 73 20 62 | 67 20 69 6e 74 6f 20 6e |n this b|g into n|
|00001f00| 63 64 73 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |cds.put |empty in|
|00001f10| 74 6f 20 74 61 0d 6f 70 | 65 6e 20 66 69 6c 65 20 |to ta.op|en file |
|00001f20| 74 68 65 66 69 6c 65 0d | 69 66 20 6d 64 73 20 69 |thefile.|if mds i|
|00001f30| 73 20 6e 6f 74 20 22 59 | 22 20 74 68 65 6e 20 70 |s not "Y|" then p|
|00001f40| 75 74 20 28 66 6c 64 20 | 22 72 6f 77 6e 61 6d 65 |ut (fld |"rowname|
|00001f50| 22 20 6f 66 20 63 64 20 | 31 20 6f 66 20 74 68 69 |" of cd |1 of thi|
|00001f60| 73 20 62 67 29 20 26 20 | 72 65 74 75 72 6e 20 61 |s bg) & |return a|
|00001f70| 66 74 65 72 20 74 61 0d | 72 65 70 65 61 74 20 77 |fter ta.|repeat w|
|00001f80| 69 74 68 20 6a 20 3d 20 | 31 20 74 6f 20 6e 63 64 |ith j = |1 to ncd|
|00001f90| 73 0d 69 66 20 6d 64 73 | 20 69 73 20 22 59 22 20 |s.if mds| is "Y" |
|00001fa0| 74 68 65 6e 20 70 75 74 | 20 28 66 6c 64 20 22 72 |then put| (fld "r|
|00001fb0| 6f 77 6e 61 6d 65 22 20 | 6f 66 20 63 64 20 6a 20 |owname" |of cd j |
|00001fc0| 6f 66 20 74 68 69 73 20 | 62 67 29 20 26 20 72 65 |of this |bg) & re|
|00001fd0| 74 75 72 6e 20 61 66 74 | 65 72 20 74 61 0d 69 66 |turn aft|er ta.if|
|00001fe0| 20 74 68 65 6d 6f 64 65 | 20 69 73 20 22 59 65 73 | themode| is "Yes|
|00001ff0| 22 20 74 68 65 6e 20 70 | 75 74 20 28 66 6c 64 20 |" then p|ut (fld |
|00002000| 22 63 6f 6c 6e 61 6d 65 | 22 20 6f 66 20 63 64 20 |"colname|" of cd |
|00002010| 6a 20 6f 66 20 74 68 69 | 73 20 62 67 29 20 26 20 |j of thi|s bg) & |
|00002020| 72 65 74 75 72 6e 20 61 | 66 74 65 72 20 74 61 0d |return a|fter ta.|
|00002030| 70 75 74 20 28 66 6c 64 | 20 22 6e 6f 74 65 73 22 |put (fld| "notes"|
|00002040| 20 6f 66 20 63 64 20 6a | 20 6f 66 20 74 68 69 73 | of cd j| of this|
|00002050| 20 62 67 29 20 26 20 72 | 65 74 75 72 6e 20 61 66 | bg) & r|eturn af|
|00002060| 74 65 72 20 74 61 0d 77 | 72 69 74 65 20 74 61 20 |ter ta.w|rite ta |
|00002070| 74 6f 20 66 69 6c 65 20 | 74 68 65 66 69 6c 65 0d |to file |thefile.|
|00002080| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 74 |put empt|y into t|
|00002090| 61 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 63 6c 6f |a.end re|peat.clo|
|000020a0| 73 65 20 66 69 6c 65 20 | 74 68 65 66 69 6c 65 0d |se file |thefile.|
|000020b0| 65 6e 64 20 65 78 72 6f | 0d 0d 6f 6e 20 65 78 63 |end exro|..on exc|
|000020c0| 6f 0d 70 75 74 20 72 65 | 64 28 29 20 69 6e 74 6f |o.put re|d() into|
|000020d0| 20 6d 64 73 0d 70 75 74 | 20 73 68 6f 72 74 20 6e | mds.put| short n|
|000020e0| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 73 74 61 63 |ame of t|his stac|
|000020f0| 6b 20 26 20 22 2e 43 6f | 6c 22 20 69 6e 74 6f 20 |k & ".Co|l" into |
|00002100| 74 68 65 66 69 6c 65 0d | 70 75 74 20 70 6c 62 6c |thefile.|put plbl|
|00002110| 28 29 20 69 6e 74 6f 20 | 74 68 65 6d 6f 64 65 0d |() into |themode.|
|00002120| 61 73 6b 20 66 69 6c 65 | 20 22 45 78 70 6f 72 74 |ask file| "Export|
|00002130| 20 43 6f 6c 75 6d 6e 20 | 74 6f 20 41 53 43 49 49 | Column |to ASCII|
|00002140| 22 20 77 69 74 68 20 74 | 68 65 66 69 6c 65 0d 69 |" with t|hefile.i|
|00002150| 66 20 74 68 65 20 72 65 | 73 75 6c 74 20 69 73 20 |f the re|sult is |
|00002160| 22 63 61 6e 63 65 6c 22 | 20 6f 72 20 69 74 20 69 |"cancel"| or it i|
|00002170| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 20 65 78 69 |s empty |then exi|
|00002180| 74 20 65 78 63 6f 0d 70 | 75 74 20 69 74 20 69 6e |t exco.p|ut it in|
|00002190| 74 6f 20 74 68 65 66 69 | 6c 65 0d 70 75 74 20 74 |to thefi|le.put t|
|000021a0| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 62 67 73 |he numbe|r of bgs|
|000021b0| 20 69 6e 74 6f 20 6e 62 | 67 73 0d 70 75 74 20 66 | into nb|gs.put f|
|000021c0| 69 65 6c 64 20 22 63 6f | 6c 4e 75 6d 62 65 72 22 |ield "co|lNumber"|
|000021d0| 20 69 6e 74 6f 20 63 6f | 6c 6e 0d 70 75 74 20 65 | into co|ln.put e|
|000021e0| 6d 70 74 79 20 69 6e 74 | 6f 20 74 61 0d 6f 70 65 |mpty int|o ta.ope|
|000021f0| 6e 20 66 69 6c 65 20 74 | 68 65 66 69 6c 65 0d 69 |n file t|hefile.i|
|00002200| 66 20 6d 64 73 20 69 73 | 20 6e 6f 74 20 22 59 22 |f mds is| not "Y"|
|00002210| 20 74 68 65 6e 20 70 75 | 74 20 28 66 6c 64 20 22 | then pu|t (fld "|
|00002220| 63 6f 6c 6e 61 6d 65 22 | 20 6f 66 20 63 64 20 63 |colname"| of cd c|
|00002230| 6f 6c 6e 20 6f 66 20 62 | 67 20 31 29 20 26 20 72 |oln of b|g 1) & r|
|00002240| 65 74 75 72 6e 20 61 66 | 74 65 72 20 74 61 0d 72 |eturn af|ter ta.r|
|00002250| 65 70 65 61 74 20 77 69 | 74 68 20 6a 20 3d 20 31 |epeat wi|th j = 1|
|00002260| 20 74 6f 20 6e 62 67 73 | 0d 69 66 20 6d 64 73 20 | to nbgs|.if mds |
|00002270| 69 73 20 22 59 22 20 74 | 68 65 6e 20 70 75 74 20 |is "Y" t|hen put |
|00002280| 28 66 6c 64 20 22 63 6f | 6c 6e 61 6d 65 22 20 6f |(fld "co|lname" o|
|00002290| 66 20 63 64 20 63 6f 6c | 6e 20 6f 66 20 62 67 20 |f cd col|n of bg |
|000022a0| 6a 29 20 26 20 72 65 74 | 75 72 6e 20 61 66 74 65 |j) & ret|urn afte|
|000022b0| 72 20 74 61 0d 69 66 20 | 74 68 65 6d 6f 64 65 20 |r ta.if |themode |
|000022c0| 69 73 20 22 59 65 73 22 | 20 74 68 65 6e 20 70 75 |is "Yes"| then pu|
|000022d0| 74 20 28 66 6c 64 20 22 | 72 6f 77 6e 61 6d 65 22 |t (fld "|rowname"|
|000022e0| 20 6f 66 20 63 64 20 63 | 6f 6c 6e 20 6f 66 20 62 | of cd c|oln of b|
|000022f0| 67 20 6a 29 20 26 20 72 | 65 74 75 72 6e 20 61 66 |g j) & r|eturn af|
|00002300| 74 65 72 20 74 61 0d 70 | 75 74 20 28 66 6c 64 20 |ter ta.p|ut (fld |
|00002310| 22 6e 6f 74 65 73 22 20 | 6f 66 20 63 64 20 63 6f |"notes" |of cd co|
|00002320| 6c 6e 20 6f 66 20 62 67 | 20 6a 29 20 26 20 72 65 |ln of bg| j) & re|
|00002330| 74 75 72 6e 20 61 66 74 | 65 72 20 74 61 0d 77 72 |turn aft|er ta.wr|
|00002340| 69 74 65 20 74 61 20 74 | 6f 20 66 69 6c 65 20 74 |ite ta t|o file t|
|00002350| 68 65 66 69 6c 65 0d 70 | 75 74 20 65 6d 70 74 79 |hefile.p|ut empty|
|00002360| 20 69 6e 74 6f 20 74 61 | 0d 65 6e 64 20 72 65 70 | into ta|.end rep|
|00002370| 65 61 74 0d 63 6c 6f 73 | 65 20 66 69 6c 65 20 74 |eat.clos|e file t|
|00002380| 68 65 66 69 6c 65 0d 65 | 6e 64 20 65 78 63 6f 0d |hefile.e|nd exco.|
|00002390| 0d 6f 6e 20 65 78 63 65 | 0d 70 75 74 20 73 68 6f |.on exce|.put sho|
|000023a0| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |rt name |of this |
|000023b0| 63 61 72 64 20 69 6e 74 | 6f 20 74 68 65 4e 61 6d |card int|o theNam|
|000023c0| 65 0d 69 66 20 22 43 61 | 72 64 20 69 64 22 20 69 |e.if "Ca|rd id" i|
|000023d0| 73 20 69 6e 20 74 68 65 | 4e 61 6d 65 20 74 68 65 |s in the|Name the|
|000023e0| 6e 20 70 75 74 20 77 6f | 72 64 20 32 20 74 6f 20 |n put wo|rd 2 to |
|000023f0| 33 20 6f 66 20 74 68 65 | 4e 61 6d 65 20 69 6e 74 |3 of the|Name int|
|00002400| 6f 20 74 68 65 4e 61 6d | 65 0d 70 75 74 20 28 63 |o theNam|e.put (c|
|00002410| 68 61 72 20 31 20 74 6f | 20 32 34 20 6f 66 20 73 |har 1 to| 24 of s|
|00002420| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 74 68 69 |hort nam|e of thi|
|00002430| 73 20 73 74 61 63 6b 29 | 20 26 20 22 2e 22 20 26 |s stack)| & "." &|
|00002440| 20 74 68 65 4e 61 6d 65 | 20 69 6e 74 6f 20 74 68 | theName| into th|
|00002450| 65 66 69 6c 65 0d 61 73 | 6b 20 66 69 6c 65 20 22 |efile.as|k file "|
|00002460| 45 78 70 6f 72 74 20 43 | 65 6c 6c 20 74 6f 20 41 |Export C|ell to A|
|00002470| 53 43 49 49 22 20 77 69 | 74 68 20 74 68 65 66 69 |SCII" wi|th thefi|
|00002480| 6c 65 0d 69 66 20 74 68 | 65 20 72 65 73 75 6c 74 |le.if th|e result|
|00002490| 20 69 73 20 22 63 61 6e | 63 65 6c 22 20 6f 72 20 | is "can|cel" or |
|000024a0| 69 74 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |it is em|pty then|
|000024b0| 20 65 78 69 74 20 65 78 | 63 65 0d 70 75 74 20 69 | exit ex|ce.put i|
|000024c0| 74 20 69 6e 74 6f 20 74 | 68 65 66 69 6c 65 0d 70 |t into t|hefile.p|
|000024d0| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 74 61 |ut empty| into ta|
|000024e0| 0d 6f 70 65 6e 20 66 69 | 6c 65 20 74 68 65 66 69 |.open fi|le thefi|
|000024f0| 6c 65 0d 70 75 74 20 28 | 66 6c 64 20 22 63 6f 6c |le.put (|fld "col|
|00002500| 6e 61 6d 65 22 29 20 26 | 20 72 65 74 75 72 6e 20 |name") &| return |
|00002510| 61 66 74 65 72 20 74 61 | 0d 70 75 74 20 28 66 6c |after ta|.put (fl|
|00002520| 64 20 22 72 6f 77 6e 61 | 6d 65 22 29 20 26 20 72 |d "rowna|me") & r|
|00002530| 65 74 75 72 6e 20 61 66 | 74 65 72 20 74 61 0d 70 |eturn af|ter ta.p|
|00002540| 75 74 20 28 66 6c 64 20 | 22 6e 6f 74 65 73 22 29 |ut (fld |"notes")|
|00002550| 20 26 20 72 65 74 75 72 | 6e 20 61 66 74 65 72 20 | & retur|n after |
|00002560| 74 61 0d 77 72 69 74 65 | 20 74 61 20 74 6f 20 66 |ta.write| ta to f|
|00002570| 69 6c 65 20 74 68 65 66 | 69 6c 65 0d 70 75 74 20 |ile thef|ile.put |
|00002580| 65 6d 70 74 79 20 69 6e | 74 6f 20 74 61 0d 63 6c |empty in|to ta.cl|
|00002590| 6f 73 65 20 66 69 6c 65 | 20 74 68 65 66 69 6c 65 |ose file| thefile|
|000025a0| 0d 65 6e 64 20 65 78 63 | 65 0d 0d 6f 6e 20 6f 70 |.end exc|e..on op|
|000025b0| 65 6e 43 61 72 64 0d 6d | 6f 76 65 62 6f 78 0d 73 |enCard.m|ovebox.s|
|000025c0| 65 74 20 74 68 65 20 68 | 69 6c 69 74 65 20 6f 66 |et the h|ilite of|
|000025d0| 20 62 67 20 62 74 6e 20 | 22 4d 61 72 6b 65 72 22 | bg btn |"Marker"|
|000025e0| 20 74 6f 20 74 68 65 20 | 6d 61 72 6b 65 64 20 6f | to the |marked o|
|000025f0| 66 20 74 68 69 73 20 63 | 61 72 64 0d 70 61 73 73 |f this c|ard.pass|
|00002600| 20 6f 70 65 6e 43 61 72 | 64 0d 65 6e 64 20 6f 70 | openCar|d.end op|
|00002610| 65 6e 43 61 72 64 0d 0d | 6f 6e 20 6f 70 65 6e 53 |enCard..|on openS|
|00002620| 74 61 63 6b 0d 72 63 63 | 6d 0d 73 68 6f 77 20 67 |tack.rcc|m.show g|
|00002630| 72 6f 75 70 73 0d 70 61 | 73 73 20 6f 70 65 6e 53 |roups.pa|ss openS|
|00002640| 74 61 63 6b 0d 65 6e 64 | 20 6f 70 65 6e 53 74 61 |tack.end| openSta|
|00002650| 63 6b 0d 6f 6e 20 72 65 | 73 75 6d 65 53 74 61 63 |ck.on re|sumeStac|
|00002660| 6b 0d 72 63 63 6d 0d 73 | 68 6f 77 20 67 72 6f 75 |k.rccm.s|how grou|
|00002670| 70 73 0d 70 61 73 73 20 | 72 65 73 75 6d 65 53 74 |ps.pass |resumeSt|
|00002680| 61 63 6b 0d 65 6e 64 20 | 72 65 73 75 6d 65 53 74 |ack.end |resumeSt|
|00002690| 61 63 6b 0d 6f 6e 20 63 | 6c 6f 73 65 53 74 61 63 |ack.on c|loseStac|
|000026a0| 6b 0d 6b 69 6c 6c 72 63 | 63 6d 0d 70 61 73 73 20 |k.killrc|cm.pass |
|000026b0| 63 6c 6f 73 65 53 74 61 | 63 6b 0d 65 6e 64 20 63 |closeSta|ck.end c|
|000026c0| 6c 6f 73 65 53 74 61 63 | 6b 0d 6f 6e 20 73 75 73 |loseStac|k.on sus|
|000026d0| 70 65 6e 64 53 74 61 63 | 6b 0d 6b 69 6c 6c 72 63 |pendStac|k.killrc|
|000026e0| 63 6d 0d 70 61 73 73 20 | 73 75 73 70 65 6e 64 53 |cm.pass |suspendS|
|000026f0| 74 61 63 6b 0d 65 6e 64 | 20 73 75 73 70 65 6e 64 |tack.end| suspend|
|00002700| 53 74 61 63 6b 0d 6f 6e | 20 72 63 63 6d 0d 73 65 |Stack.on| rccm.se|
|00002710| 74 20 74 68 65 20 63 75 | 72 73 6f 72 20 74 6f 20 |t the cu|rsor to |
|00002720| 77 61 74 63 68 0d 69 66 | 20 74 68 65 72 65 20 69 |watch.if| there i|
|00002730| 73 20 6e 6f 74 20 61 20 | 6d 65 6e 75 20 22 52 43 |s not a |menu "RC|
|00002740| 22 20 74 68 65 6e 20 63 | 72 65 61 74 65 20 6d 65 |" then c|reate me|
|00002750| 6e 75 20 22 52 43 22 20 | 2d 2d 20 c6 0d 70 75 74 |nu "RC" |-- ..put|
|00002760| 20 22 4d 61 6b 65 20 52 | 6f 77 22 20 26 20 72 65 | "Make R|ow" & re|
|00002770| 74 75 72 6e 20 26 20 22 | 4d 61 6b 65 20 43 6f 6c |turn & "|Make Col|
|00002780| 75 6d 6e 22 20 26 20 72 | 65 74 75 72 6e 20 26 20 |umn" & r|eturn & |
|00002790| 22 44 65 6c 65 74 65 20 | 52 6f 77 22 20 26 20 72 |"Delete |Row" & r|
|000027a0| 65 74 75 72 6e 20 26 20 | 22 44 65 6c 65 74 65 20 |eturn & |"Delete |
|000027b0| 43 6f 6c 75 6d 6e 22 20 | 26 20 72 65 74 75 72 6e |Column" |& return|
|000027c0| 20 26 20 22 2d 22 20 26 | 20 72 65 74 75 72 6e 20 | & "-" &| return |
|000027d0| 26 20 c2 0d 22 45 78 70 | 6f 72 74 20 54 61 62 6c |& .."Exp|ort Tabl|
|000027e0| 65 22 20 26 20 72 65 74 | 75 72 6e 20 26 20 22 45 |e" & ret|urn & "E|
|000027f0| 78 70 6f 72 74 20 52 6f | 77 22 20 26 20 72 65 74 |xport Ro|w" & ret|
|00002800| 75 72 6e 20 26 20 22 45 | 78 70 6f 72 74 20 43 6f |urn & "E|xport Co|
|00002810| 6c 75 6d 6e 22 20 26 20 | 72 65 74 75 72 6e 20 26 |lumn" & |return &|
|00002820| 20 22 45 78 70 6f 72 74 | 20 43 65 6c 6c 22 20 26 | "Export| Cell" &|
|00002830| 20 72 65 74 75 72 6e 20 | 26 20 22 2d 22 20 26 20 | return |& "-" & |
|00002840| 72 65 74 75 72 6e 20 26 | 20 c2 0d 22 50 72 69 6e |return &| .."Prin|
|00002850| 74 20 54 61 62 6c 65 22 | 20 26 20 72 65 74 75 72 |t Table"| & retur|
|00002860| 6e 20 26 20 22 50 72 69 | 6e 74 20 52 6f 77 22 20 |n & "Pri|nt Row" |
|00002870| 26 20 72 65 74 75 72 6e | 20 26 20 22 50 72 69 6e |& return| & "Prin|
|00002880| 74 20 43 6f 6c 75 6d 6e | 22 20 26 20 72 65 74 75 |t Column|" & retu|
|00002890| 72 6e 20 26 20 22 50 72 | 69 6e 74 20 43 65 6c 6c |rn & "Pr|int Cell|
|000028a0| 22 20 26 20 72 65 74 75 | 72 6e 20 26 20 22 2d 22 |" & retu|rn & "-"|
|000028b0| 20 26 20 72 65 74 75 72 | 6e 20 26 20 c2 0d 22 4e | & retur|n & .."N|
|000028c0| 61 6d 65 20 43 61 72 64 | 73 22 20 26 20 72 65 74 |ame Card|s" & ret|
|000028d0| 75 72 6e 20 26 20 22 2d | 22 20 26 20 72 65 74 75 |urn & "-|" & retu|
|000028e0| 72 6e 20 26 20 22 53 6f | 72 74 20 43 6f 6c 75 6d |rn & "So|rt Colum|
|000028f0| 6e 73 22 20 26 20 72 65 | 74 75 72 6e 20 26 20 22 |ns" & re|turn & "|
|00002900| 45 78 63 68 61 6e 67 65 | 20 43 65 6c 6c 73 22 20 |Exchange| Cells" |
|00002910| 26 20 72 65 74 75 72 6e | 20 69 6e 74 6f 20 74 68 |& return| into th|
|00002920| 65 4d 65 6e 75 0d 70 75 | 74 20 22 4d 61 6b 65 52 |eMenu.pu|t "MakeR|
|00002930| 6f 77 22 20 26 20 72 65 | 74 75 72 6e 20 26 20 22 |ow" & re|turn & "|
|00002940| 4d 61 6b 65 43 6f 6c 75 | 6d 6e 22 20 26 20 72 65 |MakeColu|mn" & re|
|00002950| 74 75 72 6e 20 26 20 22 | 44 65 6c 65 74 65 52 6f |turn & "|DeleteRo|
|00002960| 77 22 20 26 20 72 65 74 | 75 72 6e 20 26 20 22 44 |w" & ret|urn & "D|
|00002970| 65 6c 65 74 65 43 6f 6c | 75 6d 6e 22 20 26 20 72 |eleteCol|umn" & r|
|00002980| 65 74 75 72 6e 20 26 20 | 22 2d 22 20 26 20 72 65 |eturn & |"-" & re|
|00002990| 74 75 72 6e 20 26 20 c2 | 0d 22 65 78 70 6f 72 74 |turn & .|."export|
|000029a0| 22 20 26 20 72 65 74 75 | 72 6e 20 26 20 22 65 78 |" & retu|rn & "ex|
|000029b0| 72 6f 22 20 26 20 72 65 | 74 75 72 6e 20 26 20 22 |ro" & re|turn & "|
|000029c0| 65 78 63 6f 22 20 26 20 | 72 65 74 75 72 6e 20 26 |exco" & |return &|
|000029d0| 20 22 65 78 63 65 22 20 | 26 20 72 65 74 75 72 6e | "exce" |& return|
|000029e0| 20 26 20 22 2d 22 20 26 | 20 72 65 74 75 72 6e 20 | & "-" &| return |
|000029f0| 26 20 c2 0d 22 70 74 62 | 6c 22 20 26 20 72 65 74 |& .."ptb|l" & ret|
|00002a00| 75 72 6e 20 26 20 22 70 | 72 77 22 20 26 20 72 65 |urn & "p|rw" & re|
|00002a10| 74 75 72 6e 20 26 20 22 | 70 63 6c 6d 22 20 26 20 |turn & "|pclm" & |
|00002a20| 72 65 74 75 72 6e 20 26 | 20 22 50 72 69 6e 74 63 |return &| "Printc|
|00002a30| 65 6c 6c 22 20 26 20 72 | 65 74 75 72 6e 20 26 20 |ell" & r|eturn & |
|00002a40| 22 2d 22 20 26 20 72 65 | 74 75 72 6e 20 26 20 c2 |"-" & re|turn & .|
|00002a50| 0d 22 75 64 6e 6d 22 20 | 26 20 72 65 74 75 72 6e |."udnm" |& return|
|00002a60| 20 26 20 22 2d 22 20 26 | 20 72 65 74 75 72 6e 20 | & "-" &| return |
|00002a70| 26 20 22 73 6f 72 74 63 | 6f 6c 22 20 26 20 72 65 |& "sortc|ol" & re|
|00002a80| 74 75 72 6e 20 26 20 22 | 78 63 63 6c 22 20 26 20 |turn & "|xccl" & |
|00002a90| 72 65 74 75 72 6e 20 69 | 6e 74 6f 20 74 68 65 4d |return i|nto theM|
|00002aa0| 73 67 73 0d 70 75 74 20 | 74 68 65 4d 65 6e 75 20 |sgs.put |theMenu |
|00002ab0| 69 6e 74 6f 20 6d 65 6e | 75 20 22 52 43 22 20 77 |into men|u "RC" w|
|00002ac0| 69 74 68 20 6d 65 6e 75 | 6d 73 67 73 20 74 68 65 |ith menu|msgs the|
|00002ad0| 4d 73 67 73 20 2d 2d 20 | c6 0d 65 6e 64 20 72 63 |Msgs -- |..end rc|
|00002ae0| 63 6d 0d 6f 6e 20 6b 69 | 6c 6c 72 63 63 6d 0d 73 |cm.on ki|llrccm.s|
|00002af0| 65 74 20 74 68 65 20 63 | 75 72 73 6f 72 20 74 6f |et the c|ursor to|
|00002b00| 20 77 61 74 63 68 0d 69 | 66 20 74 68 65 72 65 20 | watch.i|f there |
|00002b10| 69 73 20 61 20 6d 65 6e | 75 20 22 52 43 22 20 74 |is a men|u "RC" t|
|00002b20| 68 65 6e 20 64 65 6c 65 | 74 65 20 6d 65 6e 75 20 |hen dele|te menu |
|00002b30| 22 52 43 22 20 2d 2d 20 | c6 0d 65 6e 64 20 6b 69 |"RC" -- |..end ki|
|00002b40| 6c 6c 72 63 63 6d 0d 0d | 66 75 6e 63 74 69 6f 6e |llrccm..|function|
|00002b50| 20 70 6c 62 6c 0d 61 6e | 73 77 65 72 20 22 49 6e | plbl.an|swer "In|
|00002b60| 63 6c 75 64 65 20 63 61 | 72 64 20 74 69 74 6c 65 |clude ca|rd title|
|00002b70| 73 3f 22 20 77 69 74 68 | 20 22 4e 6f 22 2c 22 59 |s?" with| "No","Y|
|00002b80| 65 73 22 2c 22 43 61 6e | 63 65 6c 22 0d 69 66 20 |es","Can|cel".if |
|00002b90| 69 74 20 69 73 20 22 43 | 61 6e 63 65 6c 22 20 74 |it is "C|ancel" t|
|00002ba0| 68 65 6e 20 65 78 69 74 | 20 74 6f 20 48 79 70 65 |hen exit| to Hype|
|00002bb0| 72 43 61 72 64 0d 65 6c | 73 65 20 72 65 74 75 72 |rCard.el|se retur|
|00002bc0| 6e 20 69 74 0d 65 6e 64 | 20 70 6c 62 6c 0d 0d 6f |n it.end| plbl..o|
|00002bd0| 6e 20 70 74 62 6c 0d 70 | 75 74 20 72 65 64 28 29 |n ptbl.p|ut red()|
|00002be0| 20 69 6e 74 6f 20 6d 64 | 73 0d 61 6e 73 77 65 72 | into md|s.answer|
|00002bf0| 20 22 52 6f 77 20 66 69 | 72 73 74 2c 20 6f 72 20 | "Row fi|rst, or |
|00002c00| 63 6f 6c 75 6d 6e 20 66 | 69 72 73 74 3f 22 20 77 |column f|irst?" w|
|00002c10| 69 74 68 20 22 52 6f 77 | 22 2c 22 43 6f 6c 75 6d |ith "Row|","Colum|
|00002c20| 6e 22 2c 22 43 61 6e 63 | 65 6c 22 0d 69 66 20 69 |n","Canc|el".if i|
|00002c30| 74 20 69 73 20 22 43 61 | 6e 63 65 6c 22 20 74 68 |t is "Ca|ncel" th|
|00002c40| 65 6e 20 65 78 69 74 20 | 70 74 62 6c 0d 70 75 74 |en exit |ptbl.put|
|00002c50| 20 69 74 20 69 6e 74 6f | 20 74 68 65 6d 6f 64 65 | it into| themode|
|00002c60| 0d 70 75 74 20 70 6c 62 | 6c 28 29 20 69 6e 74 6f |.put plb|l() into|
|00002c70| 20 6c 6d 6f 64 65 0d 70 | 75 73 68 20 63 61 72 64 | lmode.p|ush card|
|00002c80| 0d 6c 6f 63 6b 74 69 74 | 65 0d 69 66 20 74 68 65 |.locktit|e.if the|
|00002c90| 6d 6f 64 65 20 69 73 20 | 22 52 6f 77 22 20 74 68 |mode is |"Row" th|
|00002ca0| 65 6e 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 69 |en.repea|t with i|
|00002cb0| 20 3d 20 31 20 74 6f 20 | 74 68 65 20 6e 75 6d 62 | = 1 to |the numb|
|00002cc0| 65 72 20 6f 66 20 62 67 | 73 0d 67 6f 20 62 67 20 |er of bg|s.go bg |
|00002cd0| 69 0d 70 72 69 6e 74 52 | 6f 77 20 6c 6d 6f 64 65 |i.printR|ow lmode|
|00002ce0| 2c 6d 64 73 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |,mds.end| repeat.|
|00002cf0| 65 6c 73 65 0d 72 65 70 | 65 61 74 20 77 69 74 68 |else.rep|eat with|
|00002d00| 20 69 20 3d 20 31 20 74 | 6f 20 74 68 65 20 6e 75 | i = 1 t|o the nu|
|00002d10| 6d 62 65 72 20 6f 66 20 | 63 64 73 20 6f 66 20 74 |mber of |cds of t|
|00002d20| 68 69 73 20 62 67 0d 67 | 6f 20 63 64 20 69 20 6f |his bg.g|o cd i o|
|00002d30| 66 20 74 68 69 73 20 62 | 67 0d 70 72 69 6e 74 43 |f this b|g.printC|
|00002d40| 6f 6c 75 6d 6e 20 6c 6d | 6f 64 65 2c 6d 64 73 0d |olumn lm|ode,mds.|
|00002d50| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 6e 64 20 69 |end repe|at.end i|
|00002d60| 66 0d 70 6f 70 20 63 61 | 72 64 0d 65 6e 64 20 70 |f.pop ca|rd.end p|
|00002d70| 74 62 6c 0d 6f 6e 20 70 | 72 77 0d 70 75 74 20 72 |tbl.on p|rw.put r|
|00002d80| 65 64 28 29 20 69 6e 74 | 6f 20 6d 64 73 0d 6c 6f |ed() int|o mds.lo|
|00002d90| 63 6b 74 69 74 65 0d 70 | 75 74 20 70 6c 62 6c 28 |cktite.p|ut plbl(|
|00002da0| 29 20 69 6e 74 6f 20 6c | 6d 6f 64 65 0d 70 72 69 |) into l|mode.pri|
|00002db0| 6e 74 52 6f 77 20 6c 6d | 6f 64 65 2c 6d 64 73 0d |ntRow lm|ode,mds.|
|00002dc0| 65 6e 64 20 70 72 77 0d | 6f 6e 20 70 63 6c 6d 0d |end prw.|on pclm.|
|00002dd0| 70 75 74 20 72 65 64 28 | 29 20 69 6e 74 6f 20 6d |put red(|) into m|
|00002de0| 64 73 0d 6c 6f 63 6b 74 | 69 74 65 0d 70 75 74 20 |ds.lockt|ite.put |
|00002df0| 70 6c 62 6c 28 29 20 69 | 6e 74 6f 20 6c 6d 6f 64 |plbl() i|nto lmod|
|00002e00| 65 0d 70 72 69 6e 74 43 | 6f 6c 75 6d 6e 20 6c 6d |e.printC|olumn lm|
|00002e10| 6f 64 65 2c 6d 64 73 0d | 65 6e 64 20 70 63 6c 6d |ode,mds.|end pclm|
|00002e20| 0d 0d 6f 6e 20 70 72 69 | 6e 74 52 6f 77 20 6c 6d |..on pri|ntRow lm|
|00002e30| 6f 64 65 2c 6d 64 73 0d | 70 75 74 20 66 6c 64 20 |ode,mds.|put fld |
|00002e40| 22 72 6f 77 4e 61 6d 65 | 22 20 69 6e 74 6f 20 72 |"rowName|" into r|
|00002e50| 6f 77 0d 70 75 73 68 20 | 63 61 72 64 0d 70 75 74 |ow.push |card.put|
|00002e60| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 63 | the num|ber of c|
|00002e70| 64 73 20 69 6e 20 74 68 | 69 73 20 62 67 20 69 6e |ds in th|is bg in|
|00002e80| 74 6f 20 63 6e 0d 72 65 | 70 65 61 74 20 77 69 74 |to cn.re|peat wit|
|00002e90| 68 20 69 20 3d 20 31 20 | 74 6f 20 63 6e 0d 70 75 |h i = 1 |to cn.pu|
|00002ea0| 74 20 28 6c 69 6e 65 20 | 31 20 6f 66 20 66 6c 64 |t (line |1 of fld|
|00002eb0| 20 22 72 6f 77 4e 61 6d | 65 22 20 6f 66 20 63 64 | "rowNam|e" of cd|
|00002ec0| 20 69 20 6f 66 20 74 68 | 69 73 20 62 67 29 20 26 | i of th|is bg) &|
|00002ed0| 20 72 65 74 75 72 6e 20 | 61 66 74 65 72 20 72 73 | return |after rs|
|00002ee0| 74 6e 31 0d 69 66 20 69 | 3e 31 20 61 6e 64 20 6d |tn1.if i|>1 and m|
|00002ef0| 64 73 20 69 73 20 22 4e | 22 20 74 68 65 6e 20 70 |ds is "N|" then p|
|00002f00| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 66 6c |ut empty| into fl|
|00002f10| 64 20 22 72 6f 77 4e 61 | 6d 65 22 20 6f 66 20 63 |d "rowNa|me" of c|
|00002f20| 64 20 69 20 6f 66 20 74 | 68 69 73 20 62 67 0d 69 |d i of t|his bg.i|
|00002f30| 66 20 6c 6d 6f 64 65 20 | 69 73 20 22 4e 6f 22 20 |f lmode |is "No" |
|00002f40| 74 68 65 6e 0d 70 75 74 | 20 28 6c 69 6e 65 20 31 |then.put| (line 1|
|00002f50| 20 6f 66 20 66 6c 64 20 | 22 63 6f 6c 4e 61 6d 65 | of fld |"colName|
|00002f60| 22 20 6f 66 20 63 64 20 | 69 20 6f 66 20 74 68 69 |" of cd |i of thi|
|00002f70| 73 20 62 67 29 20 26 20 | 72 65 74 75 72 6e 20 61 |s bg) & |return a|
|00002f80| 66 74 65 72 20 72 73 74 | 72 6e 0d 70 75 74 20 65 |fter rst|rn.put e|
|00002f90| 6d 70 74 79 20 69 6e 74 | 6f 20 66 6c 64 20 22 63 |mpty int|o fld "c|
|00002fa0| 6f 6c 4e 61 6d 65 22 20 | 6f 66 20 63 64 20 69 20 |olName" |of cd i |
|00002fb0| 6f 66 20 74 68 69 73 20 | 62 67 0d 65 6e 64 20 69 |of this |bg.end i|
|00002fc0| 66 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 67 6f 20 |f.end re|peat.go |
|00002fd0| 63 61 72 64 20 31 20 6f | 66 20 74 68 69 73 20 62 |card 1 o|f this b|
|00002fe0| 67 0d 70 75 74 20 22 70 | 72 69 6e 74 20 28 74 68 |g.put "p|rint (th|
|00002ff0| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 63 61 72 64 |e number| of card|
|00003000| 73 20 6f 66 20 74 68 69 | 73 20 62 67 29 20 63 61 |s of thi|s bg) ca|
|00003010| 72 64 73 22 20 69 6e 74 | 6f 20 74 68 65 61 63 74 |rds" int|o theact|
|00003020| 69 6f 6e 0d 70 75 74 20 | 22 72 6f 77 52 65 70 6f |ion.put |"rowRepo|
|00003030| 72 74 22 20 69 6e 74 6f | 20 74 74 70 0d 70 72 72 |rt" into| ttp.prr|
|00003040| 74 20 74 68 65 61 63 74 | 69 6f 6e 2c 74 74 70 0d |t theact|ion,ttp.|
|00003050| 70 6f 70 20 63 61 72 64 | 0d 70 75 74 20 72 6f 77 |pop card|.put row|
|00003060| 20 69 6e 74 6f 20 66 6c | 64 20 22 72 6f 77 4e 61 | into fl|d "rowNa|
|00003070| 6d 65 22 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |me".repe|at with |
|00003080| 69 20 3d 20 31 20 74 6f | 20 63 6e 0d 69 66 20 69 |i = 1 to| cn.if i|
|00003090| 3e 31 20 61 6e 64 20 6d | 64 73 20 69 73 20 22 4e |>1 and m|ds is "N|
|000030a0| 22 20 74 68 65 6e 20 70 | 75 74 20 6c 69 6e 65 20 |" then p|ut line |
|000030b0| 69 20 6f 66 20 72 73 74 | 6e 31 20 69 6e 74 6f 20 |i of rst|n1 into |
|000030c0| 66 6c 64 20 22 72 6f 77 | 4e 61 6d 65 22 20 6f 66 |fld "row|Name" of|
|000030d0| 20 63 64 20 69 20 6f 66 | 20 74 68 69 73 20 62 67 | cd i of| this bg|
|000030e0| 0d 69 66 20 6c 6d 6f 64 | 65 20 69 73 20 22 4e 6f |.if lmod|e is "No|
|000030f0| 22 20 74 68 65 6e 20 70 | 75 74 20 6c 69 6e 65 20 |" then p|ut line |
|00003100| 69 20 6f 66 20 72 73 74 | 72 6e 20 69 6e 74 6f 20 |i of rst|rn into |
|00003110| 66 6c 64 20 22 63 6f 6c | 4e 61 6d 65 22 20 6f 66 |fld "col|Name" of|
|00003120| 20 63 64 20 69 20 6f 66 | 20 74 68 69 73 20 62 67 | cd i of| this bg|
|00003130| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |.end rep|eat.end |
|00003140| 70 72 69 6e 74 52 6f 77 | 0d 0d 6f 6e 20 70 72 69 |printRow|..on pri|
|00003150| 6e 74 43 6f 6c 75 6d 6e | 20 6c 6d 6f 64 65 2c 6d |ntColumn| lmode,m|
|00003160| 64 73 0d 70 75 74 20 66 | 6c 64 20 22 63 6f 6c 4e |ds.put f|ld "colN|
|00003170| 61 6d 65 22 20 69 6e 74 | 6f 20 63 6f 6c 75 6d 6e |ame" int|o column|
|00003180| 0d 70 75 74 20 66 69 65 | 6c 64 20 22 63 6f 6c 4e |.put fie|ld "colN|
|00003190| 75 6d 62 65 72 22 20 69 | 6e 74 6f 20 63 6e 0d 70 |umber" i|nto cn.p|
|000031a0| 75 74 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |ut the n|umber of|
|000031b0| 20 62 67 73 20 69 6e 74 | 6f 20 62 67 6e 0d 72 65 | bgs int|o bgn.re|
|000031c0| 70 65 61 74 20 77 69 74 | 68 20 69 20 3d 20 31 20 |peat wit|h i = 1 |
|000031d0| 74 6f 20 62 67 6e 0d 70 | 75 74 20 28 6c 69 6e 65 |to bgn.p|ut (line|
|000031e0| 20 31 20 6f 66 20 66 6c | 64 20 22 63 6f 6c 4e 61 | 1 of fl|d "colNa|
|000031f0| 6d 65 22 20 6f 66 20 63 | 64 20 63 6e 20 6f 66 20 |me" of c|d cn of |
|00003200| 62 67 20 69 29 20 26 20 | 72 65 74 75 72 6e 20 61 |bg i) & |return a|
|00003210| 66 74 65 72 20 72 73 74 | 6e 31 0d 69 66 20 69 3e |fter rst|n1.if i>|
|00003220| 31 20 61 6e 64 20 6d 64 | 73 20 69 73 20 22 4e 22 |1 and md|s is "N"|
|00003230| 20 74 68 65 6e 20 70 75 | 74 20 65 6d 70 74 79 20 | then pu|t empty |
|00003240| 69 6e 74 6f 20 66 6c 64 | 20 22 63 6f 6c 4e 61 6d |into fld| "colNam|
|00003250| 65 22 20 6f 66 20 63 64 | 20 63 6e 20 6f 66 20 62 |e" of cd| cn of b|
|00003260| 67 20 69 0d 69 66 20 6c | 6d 6f 64 65 20 69 73 20 |g i.if l|mode is |
|00003270| 22 4e 6f 22 20 74 68 65 | 6e 0d 70 75 74 20 28 6c |"No" the|n.put (l|
|00003280| 69 6e 65 20 31 20 6f 66 | 20 66 6c 64 20 22 72 6f |ine 1 of| fld "ro|
|00003290| 77 4e 61 6d 65 22 20 6f | 66 20 63 64 20 63 6e 20 |wName" o|f cd cn |
|000032a0| 6f 66 20 62 67 20 69 29 | 20 26 20 72 65 74 75 72 |of bg i)| & retur|
|000032b0| 6e 20 61 66 74 65 72 20 | 72 73 74 72 6e 0d 70 75 |n after |rstrn.pu|
|000032c0| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 66 6c 64 |t empty |into fld|
|000032d0| 20 22 72 6f 77 4e 61 6d | 65 22 20 6f 66 20 63 64 | "rowNam|e" of cd|
|000032e0| 20 63 6e 20 6f 66 20 62 | 67 20 69 0d 65 6e 64 20 | cn of b|g i.end |
|000032f0| 69 66 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 72 65 |if.end r|epeat.re|
|00003300| 70 65 61 74 20 77 69 74 | 68 20 69 20 3d 20 31 20 |peat wit|h i = 1 |
|00003310| 74 6f 20 62 67 6e 0d 70 | 75 74 20 22 70 72 69 6e |to bgn.p|ut "prin|
|00003320| 74 20 63 61 72 64 22 20 | 26 26 20 63 6e 20 26 26 |t card" |&& cn &&|
|00003330| 20 22 6f 66 20 62 67 22 | 20 26 26 20 69 20 26 20 | "of bg"| && i & |
|00003340| 72 65 74 75 72 6e 20 61 | 66 74 65 72 20 74 68 65 |return a|fter the|
|00003350| 61 63 74 69 6f 6e 0d 65 | 6e 64 20 72 65 70 65 61 |action.e|nd repea|
|00003360| 74 0d 70 75 74 20 22 63 | 6f 6c 52 65 70 6f 72 74 |t.put "c|olReport|
|00003370| 22 20 69 6e 74 6f 20 74 | 74 70 0d 70 72 72 74 20 |" into t|tp.prrt |
|00003380| 74 68 65 61 63 74 69 6f | 6e 2c 74 74 70 0d 70 75 |theactio|n,ttp.pu|
|00003390| 74 20 63 6f 6c 75 6d 6e | 20 69 6e 74 6f 20 66 6c |t column| into fl|
|000033a0| 64 20 22 63 6f 6c 4e 61 | 6d 65 22 0d 72 65 70 65 |d "colNa|me".repe|
|000033b0| 61 74 20 77 69 74 68 20 | 69 20 3d 20 31 20 74 6f |at with |i = 1 to|
|000033c0| 20 62 67 6e 0d 69 66 20 | 69 3e 31 20 61 6e 64 20 | bgn.if |i>1 and |
|000033d0| 6d 64 73 20 69 73 20 22 | 4e 22 20 74 68 65 6e 20 |mds is "|N" then |
|000033e0| 70 75 74 20 6c 69 6e 65 | 20 69 20 6f 66 20 72 73 |put line| i of rs|
|000033f0| 74 6e 31 20 69 6e 74 6f | 20 66 6c 64 20 22 63 6f |tn1 into| fld "co|
|00003400| 6c 4e 61 6d 65 22 20 6f | 66 20 63 64 20 63 6e 20 |lName" o|f cd cn |
|00003410| 6f 66 20 62 67 20 69 0d | 69 66 20 6c 6d 6f 64 65 |of bg i.|if lmode|
|00003420| 20 69 73 20 22 4e 6f 22 | 20 74 68 65 6e 20 70 75 | is "No"| then pu|
|00003430| 74 20 6c 69 6e 65 20 69 | 20 6f 66 20 72 73 74 72 |t line i| of rstr|
|00003440| 6e 20 69 6e 74 6f 20 66 | 6c 64 20 22 72 6f 77 4e |n into f|ld "rowN|
|00003450| 61 6d 65 22 20 6f 66 20 | 63 64 20 63 6e 20 6f 66 |ame" of |cd cn of|
|00003460| 20 62 67 20 69 0d 65 6e | 64 20 72 65 70 65 61 74 | bg i.en|d repeat|
|00003470| 0d 65 6e 64 20 70 72 69 | 6e 74 43 6f 6c 75 6d 6e |.end pri|ntColumn|
|00003480| 0d 0d 6f 6e 20 70 72 69 | 6e 74 43 65 6c 6c 0d 70 |..on pri|ntCell.p|
|00003490| 75 74 20 72 65 64 28 29 | 20 69 6e 74 6f 20 6d 64 |ut red()| into md|
|000034a0| 73 0d 6c 6f 63 6b 74 69 | 74 65 0d 70 75 74 20 65 |s.lockti|te.put e|
|000034b0| 6d 70 74 79 20 69 6e 74 | 6f 20 72 6f 77 0d 70 75 |mpty int|o row.pu|
|000034c0| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 63 6f 6c |t empty |into col|
|000034d0| 75 6d 6e 0d 69 66 20 6d | 64 73 20 69 73 20 22 4e |umn.if m|ds is "N|
|000034e0| 22 20 74 68 65 6e 0d 61 | 6e 73 77 65 72 20 22 49 |" then.a|nswer "I|
|000034f0| 6e 63 6c 75 64 65 20 63 | 61 72 64 20 74 69 74 6c |nclude c|ard titl|
|00003500| 65 3f 22 20 77 69 74 68 | 20 22 52 6f 77 22 2c 22 |e?" with| "Row","|
|00003510| 43 6f 6c 75 6d 6e 22 2c | 22 4e 6f 6e 65 22 0d 69 |Column",|"None".i|
|00003520| 66 20 69 74 20 69 73 20 | 6e 6f 74 20 22 43 6f 6c |f it is |not "Col|
|00003530| 75 6d 6e 22 20 74 68 65 | 6e 0d 70 75 74 20 66 6c |umn" the|n.put fl|
|00003540| 64 20 22 63 6f 6c 4e 61 | 6d 65 22 20 69 6e 74 6f |d "colNa|me" into|
|00003550| 20 63 6f 6c 75 6d 6e 0d | 70 75 74 20 65 6d 70 74 | column.|put empt|
|00003560| 79 20 69 6e 74 6f 20 66 | 6c 64 20 22 63 6f 6c 4e |y into f|ld "colN|
|00003570| 61 6d 65 22 0d 65 6e 64 | 20 69 66 0d 69 66 20 69 |ame".end| if.if i|
|00003580| 74 20 69 73 20 6e 6f 74 | 20 22 52 6f 77 22 20 74 |t is not| "Row" t|
|00003590| 68 65 6e 0d 70 75 74 20 | 66 6c 64 20 22 72 6f 77 |hen.put |fld "row|
|000035a0| 4e 61 6d 65 22 20 69 6e | 74 6f 20 72 6f 77 0d 70 |Name" in|to row.p|
|000035b0| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 66 6c |ut empty| into fl|
|000035c0| 64 20 22 72 6f 77 4e 61 | 6d 65 22 0d 65 6e 64 20 |d "rowNa|me".end |
|000035d0| 69 66 0d 65 6e 64 20 69 | 66 0d 70 75 74 20 22 70 |if.end i|f.put "p|
|000035e0| 72 69 6e 74 20 63 61 72 | 64 22 20 69 6e 74 6f 20 |rint car|d" into |
|000035f0| 74 68 65 61 63 74 69 6f | 6e 0d 70 75 74 20 22 72 |theactio|n.put "r|
|00003600| 6f 77 52 65 70 6f 72 74 | 22 20 69 6e 74 6f 20 74 |owReport|" into t|
|00003610| 74 70 0d 70 72 72 74 20 | 74 68 65 61 63 74 69 6f |tp.prrt |theactio|
|00003620| 6e 2c 74 74 70 0d 69 66 | 20 63 6f 6c 75 6d 6e 20 |n,ttp.if| column |
|00003630| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 20 74 68 65 |is not e|mpty the|
|00003640| 6e 20 70 75 74 20 63 6f | 6c 75 6d 6e 20 69 6e 74 |n put co|lumn int|
|00003650| 6f 20 66 6c 64 20 22 63 | 6f 6c 4e 61 6d 65 22 0d |o fld "c|olName".|
|00003660| 69 66 20 72 6f 77 20 69 | 73 20 6e 6f 74 20 65 6d |if row i|s not em|
|00003670| 70 74 79 20 74 68 65 6e | 20 70 75 74 20 72 6f 77 |pty then| put row|
|00003680| 20 69 6e 74 6f 20 66 6c | 64 20 22 72 6f 77 4e 61 | into fl|d "rowNa|
|00003690| 6d 65 22 0d 65 6e 64 20 | 70 72 69 6e 74 43 65 6c |me".end |printCel|
|000036a0| 6c 0d 0d 6f 6e 20 70 72 | 72 74 20 74 68 65 61 63 |l..on pr|rt theac|
|000036b0| 74 69 6f 6e 2c 74 74 70 | 0d 68 69 64 65 20 67 72 |tion,ttp|.hide gr|
|000036c0| 6f 75 70 73 0d 6f 70 65 | 6e 20 72 65 70 6f 72 74 |oups.ope|n report|
|000036d0| 20 70 72 69 6e 74 69 6e | 67 20 77 69 74 68 20 74 | printin|g with t|
|000036e0| 65 6d 70 6c 61 74 65 20 | 74 74 70 0d 64 6f 20 74 |emplate |ttp.do t|
|000036f0| 68 65 61 63 74 69 6f 6e | 0d 63 6c 6f 73 65 20 70 |heaction|.close p|
|00003700| 72 69 6e 74 69 6e 67 0d | 73 68 6f 77 20 67 72 6f |rinting.|show gro|
|00003710| 75 70 73 0d 65 6e 64 20 | 70 72 72 74 0d 0d 6f 6e |ups.end |prrt..on|
|00003720| 20 78 63 63 6c 0d 61 6e | 73 77 65 72 20 22 45 78 | xccl.an|swer "Ex|
|00003730| 63 68 61 6e 67 65 20 66 | 6f 72 6d 61 74 2e 2e 2e |change f|ormat...|
|00003740| 22 20 77 69 74 68 20 22 | 49 6e 70 75 74 22 2c 22 |" with "|Input","|
|00003750| 4f 75 74 70 75 74 22 2c | 22 43 61 6e 63 65 6c 22 |Output",|"Cancel"|
|00003760| 0d 69 66 20 69 74 20 69 | 73 20 22 43 61 6e 63 65 |.if it i|s "Cance|
|00003770| 6c 22 20 74 68 65 6e 20 | 65 78 69 74 20 78 63 63 |l" then |exit xcc|
|00003780| 6c 0d 70 75 74 20 74 68 | 65 20 6e 75 6d 62 65 72 |l.put th|e number|
|00003790| 20 6f 66 20 62 67 73 20 | 69 6e 74 6f 20 62 67 6e | of bgs |into bgn|
|000037a0| 0d 70 75 74 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |.put the| number |
|000037b0| 6f 66 20 63 64 73 20 69 | 6e 20 74 68 69 73 20 62 |of cds i|n this b|
|000037c0| 67 20 69 6e 74 6f 20 63 | 64 6e 0d 70 75 74 20 6e |g into c|dn.put n|
|000037d0| 75 6d 54 6f 43 68 61 72 | 28 31 39 34 29 20 69 6e |umToChar|(194) in|
|000037e0| 74 6f 20 74 68 65 53 74 | 6f 70 0d 69 66 20 69 74 |to theSt|op.if it|
|000037f0| 20 69 73 20 22 4f 75 74 | 70 75 74 22 20 74 68 65 | is "Out|put" the|
|00003800| 6e 0d 61 73 6b 20 66 69 | 6c 65 20 22 4f 75 74 70 |n.ask fi|le "Outp|
|00003810| 75 74 20 61 6c 6c 20 63 | 65 6c 6c 73 20 74 6f 20 |ut all c|ells to |
|00003820| 41 53 43 49 49 20 45 78 | 63 68 61 6e 67 65 20 66 |ASCII Ex|change f|
|00003830| 6f 72 6d 61 74 22 0d 69 | 66 20 74 68 65 20 72 65 |ormat".i|f the re|
|00003840| 73 75 6c 74 20 69 73 20 | 22 63 61 6e 63 65 6c 22 |sult is |"cancel"|
|00003850| 20 6f 72 20 69 74 20 69 | 73 20 65 6d 70 74 79 20 | or it i|s empty |
|00003860| 74 68 65 6e 20 65 78 69 | 74 20 78 63 63 6c 0d 70 |then exi|t xccl.p|
|00003870| 75 74 20 69 74 20 69 6e | 74 6f 20 74 68 65 66 69 |ut it in|to thefi|
|00003880| 6c 65 0d 6c 6f 63 6b 54 | 69 74 65 0d 75 64 6e 6d |le.lockT|ite.udnm|
|00003890| 20 22 52 79 43 78 22 0d | 6f 70 65 6e 20 66 69 6c | "RyCx".|open fil|
|000038a0| 65 20 74 68 65 66 69 6c | 65 0d 70 75 74 20 65 6d |e thefil|e.put em|
|000038b0| 70 74 79 20 69 6e 74 6f | 20 74 61 0d 72 65 70 65 |pty into| ta.repe|
|000038c0| 61 74 20 77 69 74 68 20 | 69 20 3d 20 31 20 74 6f |at with |i = 1 to|
|000038d0| 20 62 67 6e 0d 72 65 70 | 65 61 74 20 77 69 74 68 | bgn.rep|eat with|
|000038e0| 20 6a 20 3d 20 31 20 74 | 6f 20 63 64 6e 0d 70 75 | j = 1 t|o cdn.pu|
|000038f0| 74 20 22 2f 22 20 26 20 | 28 73 68 6f 72 74 20 6e |t "/" & |(short n|
|00003900| 61 6d 65 20 6f 66 20 63 | 64 20 6a 20 6f 66 20 62 |ame of c|d j of b|
|00003910| 67 20 69 29 20 26 20 22 | 2f 22 20 26 20 28 6c 69 |g i) & "|/" & (li|
|00003920| 6e 65 20 31 20 6f 66 20 | 66 6c 64 20 22 72 6f 77 |ne 1 of |fld "row|
|00003930| 4e 61 6d 65 22 20 6f 66 | 20 63 64 20 6a 20 6f 66 |Name" of| cd j of|
|00003940| 20 62 67 20 69 29 20 26 | 20 22 2f 22 20 26 20 28 | bg i) &| "/" & (|
|00003950| 6c 69 6e 65 20 31 20 6f | 66 20 66 6c 64 20 22 63 |line 1 o|f fld "c|
|00003960| 6f 6c 4e 61 6d 65 22 20 | 6f 66 20 63 64 20 6a 20 |olName" |of cd j |
|00003970| 6f 66 20 62 67 20 69 29 | 20 26 20 72 65 74 75 72 |of bg i)| & retur|
|00003980| 6e 20 61 66 74 65 72 20 | 74 61 0d 70 75 74 20 28 |n after |ta.put (|
|00003990| 66 6c 64 20 22 6e 6f 74 | 65 73 22 20 6f 66 20 63 |fld "not|es" of c|
|000039a0| 64 20 6a 20 6f 66 20 62 | 67 20 69 29 20 26 20 72 |d j of b|g i) & r|
|000039b0| 65 74 75 72 6e 20 61 66 | 74 65 72 20 74 61 0d 70 |eturn af|ter ta.p|
|000039c0| 75 74 20 74 68 65 53 74 | 6f 70 20 61 66 74 65 72 |ut theSt|op after|
|000039d0| 20 74 61 0d 77 72 69 74 | 65 20 74 61 20 74 6f 20 | ta.writ|e ta to |
|000039e0| 66 69 6c 65 20 74 68 65 | 46 69 6c 65 0d 70 75 74 |file the|File.put|
|000039f0| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 74 61 0d 65 | empty i|nto ta.e|
|00003a00| 6e 64 20 72 65 70 65 61 | 74 0d 65 6e 64 20 72 65 |nd repea|t.end re|
|00003a10| 70 65 61 74 0d 63 6c 6f | 73 65 20 66 69 6c 65 20 |peat.clo|se file |
|00003a20| 74 68 65 66 69 6c 65 0d | 65 6c 73 65 0d 61 6e 73 |thefile.|else.ans|
|00003a30| 77 65 72 20 66 69 6c 65 | 20 22 49 6e 70 75 74 20 |wer file| "Input |
|00003a40| 63 65 6c 6c 20 63 6f 6e | 74 65 6e 74 73 20 66 72 |cell con|tents fr|
|00003a50| 6f 6d 20 41 53 43 49 49 | 20 65 78 63 68 61 6e 67 |om ASCII| exchang|
|00003a60| 65 20 66 6f 72 6d 61 74 | 22 20 6f 66 20 74 79 70 |e format|" of typ|
|00003a70| 65 20 22 54 45 58 54 22 | 0d 69 66 20 69 74 20 69 |e "TEXT"|.if it i|
|00003a80| 73 20 65 6d 70 74 79 20 | 6f 72 20 74 68 65 20 72 |s empty |or the r|
|00003a90| 65 73 75 6c 74 20 69 73 | 20 22 43 61 6e 63 65 6c |esult is| "Cancel|
|00003aa0| 22 20 74 68 65 6e 20 65 | 78 69 74 20 78 63 63 6c |" then e|xit xccl|
|00003ab0| 0d 70 75 74 20 69 74 20 | 69 6e 74 6f 20 74 68 65 |.put it |into the|
|00003ac0| 66 69 6c 65 0d 6c 6f 63 | 6b 54 69 74 65 0d 73 65 |file.loc|kTite.se|
|00003ad0| 74 20 74 68 65 20 69 74 | 65 6d 44 65 6c 69 6d 69 |t the it|emDelimi|
|00003ae0| 74 65 72 20 74 6f 20 22 | 2f 22 0d 70 75 74 20 30 |ter to "|/".put 0|
|00003af0| 20 69 6e 74 6f 20 74 61 | 0d 6f 70 65 6e 20 66 69 | into ta|.open fi|
|00003b00| 6c 65 20 74 68 65 66 69 | 6c 65 0d 72 65 70 65 61 |le thefi|le.repea|
|00003b10| 74 20 77 68 69 6c 65 20 | 74 61 20 69 73 20 6e 6f |t while |ta is no|
|00003b20| 74 20 65 6d 70 74 79 0d | 72 65 61 64 20 66 72 6f |t empty.|read fro|
|00003b30| 6d 20 66 69 6c 65 20 74 | 68 65 66 69 6c 65 20 75 |m file t|hefile u|
|00003b40| 6e 74 69 6c 20 74 68 65 | 53 74 6f 70 0d 70 75 74 |ntil the|Stop.put|
|00003b50| 20 69 74 20 69 6e 74 6f | 20 74 61 0d 70 75 74 20 | it into| ta.put |
|00003b60| 6c 69 6e 65 20 31 20 6f | 66 20 74 61 0d 69 66 20 |line 1 o|f ta.if |
|00003b70| 63 68 61 72 20 31 20 6f | 66 20 6c 69 6e 65 20 31 |char 1 o|f line 1|
|00003b80| 20 6f 66 20 74 61 20 69 | 73 20 22 2f 22 20 74 68 | of ta i|s "/" th|
|00003b90| 65 6e 0d 70 75 74 20 69 | 74 65 6d 20 32 20 6f 66 |en.put i|tem 2 of|
|00003ba0| 20 6c 69 6e 65 20 31 20 | 6f 66 20 74 61 20 69 6e | line 1 |of ta in|
|00003bb0| 74 6f 20 74 68 65 43 61 | 72 64 4e 61 6d 65 0d 70 |to theCa|rdName.p|
|00003bc0| 75 74 20 69 74 65 6d 20 | 33 20 6f 66 20 6c 69 6e |ut item |3 of lin|
|00003bd0| 65 20 31 20 6f 66 20 74 | 61 20 69 6e 74 6f 20 74 |e 1 of t|a into t|
|00003be0| 68 65 52 6f 77 4e 61 6d | 65 0d 70 75 74 20 69 74 |heRowNam|e.put it|
|00003bf0| 65 6d 20 34 20 6f 66 20 | 6c 69 6e 65 20 31 20 6f |em 4 of |line 1 o|
|00003c00| 66 20 74 61 20 69 6e 74 | 6f 20 74 68 65 43 6f 6c |f ta int|o theCol|
|00003c10| 4e 61 6d 65 0d 69 66 20 | 74 68 65 72 65 20 69 73 |Name.if |there is|
|00003c20| 20 61 20 63 61 72 64 20 | 74 68 65 43 61 72 64 4e | a card |theCardN|
|00003c30| 61 6d 65 20 74 68 65 6e | 0d 67 6f 20 63 61 72 64 |ame then|.go card|
|00003c40| 20 74 68 65 43 61 72 64 | 4e 61 6d 65 0d 70 75 74 | theCard|Name.put|
|00003c50| 20 6c 69 6e 65 20 32 20 | 74 6f 20 28 28 74 68 65 | line 2 |to ((the|
|00003c60| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 | number |of lines|
|00003c70| 20 69 6e 20 74 61 29 2d | 31 29 20 6f 66 20 74 61 | in ta)-|1) of ta|
|00003c80| 20 69 6e 74 6f 20 66 6c | 64 20 22 4e 6f 74 65 73 | into fl|d "Notes|
|00003c90| 22 0d 69 66 20 74 68 65 | 52 6f 77 4e 61 6d 65 20 |".if the|RowName |
|00003ca0| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 20 74 68 65 |is not e|mpty the|
|00003cb0| 6e 20 70 75 74 20 74 68 | 65 52 6f 77 4e 61 6d 65 |n put th|eRowName|
|00003cc0| 20 69 6e 74 6f 20 66 6c | 64 20 22 72 6f 77 4e 61 | into fl|d "rowNa|
|00003cd0| 6d 65 22 0d 69 66 20 74 | 68 65 43 6f 6c 4e 61 6d |me".if t|heColNam|
|00003ce0| 65 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 20 74 |e is not| empty t|
|00003cf0| 68 65 6e 0d 70 75 74 20 | 74 68 65 43 6f 6c 4e 61 |hen.put |theColNa|
|00003d00| 6d 65 20 69 6e 74 6f 20 | 66 6c 64 20 22 63 6f 6c |me into |fld "col|
|00003d10| 4e 61 6d 65 22 0d 65 6e | 64 20 69 66 0d 65 6c 73 |Name".en|d if.els|
|00003d20| 65 0d 61 6e 73 77 65 72 | 20 22 4e 6f 20 73 75 63 |e.answer| "No suc|
|00003d30| 68 20 63 61 72 64 3a 22 | 20 26 26 20 74 68 65 43 |h card:"| && theC|
|00003d40| 61 72 64 4e 61 6d 65 0d | 63 6c 6f 73 65 20 66 69 |ardName.|close fi|
|00003d50| 6c 65 20 74 68 65 66 69 | 6c 65 0d 65 78 69 74 20 |le thefi|le.exit |
|00003d60| 78 63 63 6c 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |xccl.end| if.end |
|00003d70| 69 66 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 63 6c |if.end r|epeat.cl|
|00003d80| 6f 73 65 20 66 69 6c 65 | 20 74 68 65 66 69 6c 65 |ose file| thefile|
|00003d90| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 78 63 63 6c |.end if.|end xccl|
|00003da0| 0d 6f 6e 20 73 6f 72 74 | 43 6f 6c 0d 70 75 74 20 |.on sort|Col.put |
|00003db0| 22 41 72 65 20 79 6f 75 | 20 73 75 72 65 20 79 6f |"Are you| sure yo|
|00003dc0| 75 20 77 61 6e 74 20 74 | 6f 20 73 6f 72 74 20 63 |u want t|o sort c|
|00003dd0| 6f 6c 75 6d 6e 73 3f 22 | 20 26 20 72 65 74 75 72 |olumns?"| & retur|
|00003de0| 6e 20 26 20 22 54 68 69 | 73 20 63 61 6e 6e 6f 74 |n & "Thi|s cannot|
|00003df0| 20 62 65 20 75 6e 64 6f | 6e 65 2e 22 20 69 6e 74 | be undo|ne." int|
|00003e00| 6f 20 70 72 0d 61 6e 73 | 77 65 72 20 70 72 20 77 |o pr.ans|wer pr w|
|00003e10| 69 74 68 20 22 4f 4b 22 | 2c 22 43 61 6e 63 65 6c |ith "OK"|,"Cancel|
|00003e20| 22 0d 69 66 20 69 74 20 | 69 73 20 6e 6f 74 20 22 |".if it |is not "|
|00003e30| 4f 4b 22 20 74 68 65 6e | 20 65 78 69 74 20 73 6f |OK" then| exit so|
|00003e40| 72 74 43 6f 6c 0d 6c 6f | 63 6b 74 69 74 65 0d 73 |rtCol.lo|cktite.s|
|00003e50| 65 74 20 74 68 65 20 6e | 75 6d 62 65 72 46 6f 72 |et the n|umberFor|
|00003e60| 6d 61 74 20 74 6f 20 22 | 30 30 30 30 22 0d 75 64 |mat to "|0000".ud|
|00003e70| 6e 6d 20 22 52 79 43 78 | 22 0d 73 65 74 20 74 68 |nm "RyCx|".set th|
|00003e80| 65 20 6e 75 6d 62 65 72 | 46 6f 72 6d 61 74 20 74 |e number|Format t|
|00003e90| 6f 20 22 30 2e 23 23 23 | 23 23 23 22 0d 73 65 74 |o "0.###|###".set|
|00003ea0| 20 74 68 65 20 69 74 65 | 6d 64 65 6c 69 6d 69 74 | the ite|mdelimit|
|00003eb0| 65 72 20 74 6f 20 74 61 | 62 0d 70 75 74 20 74 68 |er to ta|b.put th|
|00003ec0| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 63 64 73 20 |e number| of cds |
|00003ed0| 69 6e 20 74 68 69 73 20 | 62 67 20 69 6e 74 6f 20 |in this |bg into |
|00003ee0| 63 6e 0d 70 75 74 20 74 | 68 65 20 6e 75 6d 62 65 |cn.put t|he numbe|
|00003ef0| 72 20 6f 66 20 62 67 73 | 20 69 6e 74 6f 20 62 67 |r of bgs| into bg|
|00003f00| 6e 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 20 |n.repeat| with i |
|00003f10| 3d 20 31 20 74 6f 20 63 | 6e 0d 70 75 74 20 28 66 |= 1 to c|n.put (f|
|00003f20| 6c 64 20 22 63 6f 6c 4e | 61 6d 65 22 20 6f 66 20 |ld "colN|ame" of |
|00003f30| 63 64 20 69 20 6f 66 20 | 74 68 69 73 20 62 67 29 |cd i of |this bg)|
|00003f40| 20 26 20 74 61 62 20 26 | 20 69 20 69 6e 74 6f 20 | & tab &| i into |
|00003f50| 6c 69 6e 65 20 69 20 6f | 66 20 74 61 0d 65 6e 64 |line i o|f ta.end|
|00003f60| 20 72 65 70 65 61 74 0d | 73 6f 72 74 20 6c 69 6e | repeat.|sort lin|
|00003f70| 65 73 20 6f 66 20 74 61 | 20 69 6e 74 65 72 6e 61 |es of ta| interna|
|00003f80| 74 69 6f 6e 61 6c 0d 73 | 65 74 20 74 68 65 20 6e |tional.s|et the n|
|00003f90| 75 6d 62 65 72 46 6f 72 | 6d 61 74 20 74 6f 20 22 |umberFor|mat to "|
|00003fa0| 30 30 30 30 22 0d 72 65 | 70 65 61 74 20 77 69 74 |0000".re|peat wit|
|00003fb0| 68 20 69 20 3d 20 31 20 | 74 6f 20 63 6e 0d 70 75 |h i = 1 |to cn.pu|
|00003fc0| 74 20 69 74 65 6d 20 32 | 20 6f 66 20 6c 69 6e 65 |t item 2| of line|
|00003fd0| 20 69 20 6f 66 20 74 61 | 20 69 6e 74 6f 20 73 63 | i of ta| into sc|
|00003fe0| 6e 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 6a 20 |n.repeat| with j |
|00003ff0| 3d 20 31 20 74 6f 20 62 | 67 6e 0d 73 65 74 20 6e |= 1 to b|gn.set n|
|00004000| 61 6d 65 20 6f 66 20 63 | 64 20 73 63 6e 20 6f 66 |ame of c|d scn of|
|00004010| 20 62 67 20 6a 20 74 6f | 20 22 52 22 20 26 20 6a | bg j to| "R" & j|
|00004020| 20 26 20 22 43 22 20 26 | 20 69 0d 65 6e 64 20 72 | & "C" &| i.end r|
|00004030| 65 70 65 61 74 0d 65 6e | 64 20 72 65 70 65 61 74 |epeat.en|d repeat|
|00004040| 0d 73 65 74 20 74 68 65 | 20 6e 75 6d 62 65 72 46 |.set the| numberF|
|00004050| 6f 72 6d 61 74 20 74 6f | 20 22 30 2e 23 23 23 23 |ormat to| "0.####|
|00004060| 23 23 22 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |##".repe|at with |
|00004070| 69 20 3d 20 31 20 74 6f | 20 63 6e 0d 70 75 74 20 |i = 1 to| cn.put |
|00004080| 69 74 65 6d 20 32 20 6f | 66 20 6c 69 6e 65 20 69 |item 2 o|f line i|
|00004090| 20 6f 66 20 74 61 20 69 | 6e 74 6f 20 73 63 6e 0d | of ta i|nto scn.|
|000040a0| 72 65 70 65 61 74 20 77 | 69 74 68 20 6a 20 3d 20 |repeat w|ith j = |
|000040b0| 31 20 74 6f 20 62 67 6e | 0d 70 75 74 20 69 20 69 |1 to bgn|.put i i|
|000040c0| 6e 74 6f 20 66 6c 64 20 | 22 63 6f 6c 4e 75 6d 62 |nto fld |"colNumb|
|000040d0| 65 72 22 20 6f 66 20 63 | 64 20 73 63 6e 20 6f 66 |er" of c|d scn of|
|000040e0| 20 62 67 20 6a 0d 65 6e | 64 20 72 65 70 65 61 74 | bg j.en|d repeat|
|000040f0| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 73 6f 72 74 |.end rep|eat.sort|
|00004100| 20 62 79 20 73 68 6f 72 | 74 20 6e 61 6d 65 20 6f | by shor|t name o|
|00004110| 66 20 74 68 69 73 20 63 | 61 72 64 0d 73 65 74 20 |f this c|ard.set |
|00004120| 74 68 65 20 69 74 65 6d | 64 65 6c 69 6d 69 74 65 |the item|delimite|
|00004130| 72 20 74 6f 20 63 6f 6d | 6d 61 0d 75 64 6e 6d 20 |r to com|ma.udnm |
|00004140| 22 52 79 43 78 22 0d 6f | 70 65 6e 43 61 72 64 0d |"RyCx".o|penCard.|
|00004150| 65 6e 64 20 73 6f 72 74 | 43 6f 6c 0d 0d 6f 6e 20 |end sort|Col..on |
|00004160| 75 64 6e 6d 20 74 68 65 | 6d 6f 64 65 0d 69 66 20 |udnm the|mode.if |
|00004170| 74 68 65 6d 6f 64 65 20 | 69 73 20 65 6d 70 74 79 |themode |is empty|
|00004180| 20 74 68 65 6e 0d 61 6e | 73 77 65 72 20 22 4e 61 | then.an|swer "Na|
|00004190| 6d 65 20 61 6c 6c 20 63 | 61 72 64 73 22 20 77 69 |me all c|ards" wi|
|000041a0| 74 68 20 22 45 6d 70 74 | 79 22 2c 22 52 79 43 78 |th "Empt|y","RyCx|
|000041b0| 22 2c 22 43 61 6e 63 65 | 6c 22 0d 69 66 20 69 74 |","Cance|l".if it|
|000041c0| 20 69 73 20 22 43 61 6e | 63 65 6c 22 20 74 68 65 | is "Can|cel" the|
|000041d0| 6e 20 65 78 69 74 20 75 | 64 6e 6d 0d 65 6c 73 65 |n exit u|dnm.else|
|000041e0| 20 70 75 74 20 69 74 20 | 69 6e 74 6f 20 74 68 65 | put it |into the|
|000041f0| 6d 6f 64 65 0d 65 6e 64 | 20 69 66 0d 73 65 74 20 |mode.end| if.set |
|00004200| 63 75 72 73 6f 72 20 74 | 6f 20 77 61 74 63 68 0d |cursor t|o watch.|
|00004210| 69 66 20 74 68 65 6d 6f | 64 65 20 69 73 20 22 52 |if themo|de is "R|
|00004220| 79 43 78 22 20 74 68 65 | 6e 0d 72 65 70 65 61 74 |yCx" the|n.repeat|
|00004230| 20 77 69 74 68 20 69 20 | 3d 20 31 20 74 6f 20 74 | with i |= 1 to t|
|00004240| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 63 61 72 |he numbe|r of car|
|00004250| 64 73 20 69 6e 20 62 67 | 20 31 0d 72 65 70 65 61 |ds in bg| 1.repea|
|00004260| 74 20 77 69 74 68 20 6a | 20 3d 20 31 20 74 6f 20 |t with j| = 1 to |
|00004270| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 62 67 |the numb|er of bg|
|00004280| 73 0d 73 65 74 20 74 68 | 65 20 6e 61 6d 65 20 6f |s.set th|e name o|
|00004290| 66 20 63 61 72 64 20 69 | 20 6f 66 20 62 67 20 6a |f card i| of bg j|
|000042a0| 20 74 6f 20 28 22 52 22 | 20 26 20 6a 20 26 20 22 | to ("R"| & j & "|
|000042b0| 43 22 20 26 20 69 29 0d | 65 6e 64 20 72 65 70 65 |C" & i).|end repe|
|000042c0| 61 74 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 65 6c |at.end r|epeat.el|
|000042d0| 73 65 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 69 |se.repea|t with i|
|000042e0| 20 3d 20 31 20 74 6f 20 | 74 68 65 20 6e 75 6d 62 | = 1 to |the numb|
|000042f0| 65 72 20 6f 66 20 63 64 | 73 0d 73 65 74 20 74 68 |er of cd|s.set th|
|00004300| 65 20 6e 61 6d 65 20 6f | 66 20 63 61 72 64 20 69 |e name o|f card i|
|00004310| 20 74 6f 20 65 6d 70 74 | 79 0d 65 6e 64 20 72 65 | to empt|y.end re|
|00004320| 70 65 61 74 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |peat.end| if.end |
|00004330| 75 64 6e 6d 0d 0d 6f 6e | 20 75 70 64 61 74 65 52 |udnm..on| updateR|
|00004340| 6f 77 0d 70 75 74 20 66 | 6c 64 20 22 72 6f 77 4e |ow.put f|ld "rowN|
|00004350| 61 6d 65 22 20 69 6e 74 | 6f 20 72 6f 77 6e 61 6d |ame" int|o rownam|
|00004360| 65 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 20 |e.repeat| with i |
|00004370| 3d 20 31 20 74 6f 20 74 | 68 65 20 6e 75 6d 62 65 |= 1 to t|he numbe|
|00004380| 72 20 6f 66 20 63 61 72 | 64 73 20 69 6e 20 74 68 |r of car|ds in th|
|00004390| 69 73 20 62 67 0d 70 75 | 74 20 72 6f 77 6e 61 6d |is bg.pu|t rownam|
|000043a0| 65 20 69 6e 74 6f 20 66 | 6c 64 20 22 72 6f 77 4e |e into f|ld "rowN|
|000043b0| 61 6d 65 22 20 6f 66 20 | 63 61 72 64 20 69 20 6f |ame" of |card i o|
|000043c0| 66 20 74 68 69 73 20 62 | 67 0d 65 6e 64 20 72 65 |f this b|g.end re|
|000043d0| 70 65 61 74 0d 65 6e 64 | 20 75 70 64 61 74 65 52 |peat.end| updateR|
|000043e0| 6f 77 0d 0d 6f 6e 20 75 | 70 64 61 74 65 43 6f 6c |ow..on u|pdateCol|
|000043f0| 0d 70 75 74 20 66 6c 64 | 20 22 63 6f 6c 4e 61 6d |.put fld| "colNam|
|00004400| 65 22 20 69 6e 74 6f 20 | 63 6f 6c 4e 61 6d 65 0d |e" into |colName.|
|00004410| 70 75 74 20 66 6c 64 20 | 22 63 6f 6c 4e 75 6d 62 |put fld |"colNumb|
|00004420| 65 72 22 20 69 6e 74 6f | 20 63 6e 0d 72 65 70 65 |er" into| cn.repe|
|00004430| 61 74 20 77 69 74 68 20 | 69 20 3d 20 31 20 74 6f |at with |i = 1 to|
|00004440| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 62 | the num|ber of b|
|00004450| 67 73 0d 70 75 74 20 63 | 6f 6c 4e 61 6d 65 20 69 |gs.put c|olName i|
|00004460| 6e 74 6f 20 66 6c 64 20 | 22 63 6f 6c 4e 61 6d 65 |nto fld |"colName|
|00004470| 22 20 6f 66 20 63 61 72 | 64 20 63 6e 20 6f 66 20 |" of car|d cn of |
|00004480| 62 67 20 69 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |bg i.end| repeat.|
|00004490| 65 6e 64 20 75 70 64 61 | 74 65 43 6f 6c 0d 0d 6f |end upda|teCol..o|
|000044a0| 6e 20 4d 61 6b 65 52 6f | 77 0d 67 6c 6f 62 61 6c |n MakeRo|w.global|
|000044b0| 20 64 6f 6e 74 62 6f 74 | 68 65 72 0d 61 73 6b 20 | dontbot|her.ask |
|000044c0| 22 4e 61 6d 65 20 74 68 | 65 20 6e 65 77 20 52 6f |"Name th|e new Ro|
|000044d0| 77 2e 2e 2e 22 0d 69 66 | 20 74 68 65 20 72 65 73 |w...".if| the res|
|000044e0| 75 6c 74 20 69 73 20 22 | 43 61 6e 63 65 6c 22 20 |ult is "|Cancel" |
|000044f0| 74 68 65 6e 20 65 78 69 | 74 20 6d 61 6b 65 52 6f |then exi|t makeRo|
|00004500| 77 0d 70 75 74 20 69 74 | 20 69 6e 74 6f 20 72 6f |w.put it| into ro|
|00004510| 77 4e 61 6d 65 0d 70 75 | 74 20 74 72 75 65 20 69 |wName.pu|t true i|
|00004520| 6e 74 6f 20 64 6f 6e 74 | 62 6f 74 68 65 72 0d 70 |nto dont|bother.p|
|00004530| 75 74 20 28 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |ut (the |number o|
|00004540| 66 20 63 61 72 64 73 20 | 69 6e 20 74 68 69 73 20 |f cards |in this |
|00004550| 62 67 29 20 69 6e 74 6f | 20 74 68 65 77 69 64 0d |bg) into| thewid.|
|00004560| 6c 6f 63 6b 74 69 74 65 | 0d 67 6f 20 66 69 72 73 |locktite|.go firs|
|00004570| 74 20 63 61 72 64 20 6f | 66 20 74 68 69 73 20 62 |t card o|f this b|
|00004580| 67 0d 64 6f 6d 65 6e 75 | 20 22 63 6f 70 79 20 63 |g.domenu| "copy c|
|00004590| 61 72 64 22 0d 73 65 74 | 20 74 68 65 20 68 69 6c |ard".set| the hil|
|000045a0| 69 74 65 20 6f 66 20 62 | 67 20 62 74 6e 20 22 62 |ite of b|g btn "b|
|000045b0| 67 6d 61 6b 65 72 22 20 | 74 6f 20 6e 6f 74 20 74 |gmaker" |to not t|
|000045c0| 68 65 20 68 69 6c 69 74 | 65 20 6f 66 20 62 67 20 |he hilit|e of bg |
|000045d0| 62 74 6e 20 22 62 67 6d | 61 6b 65 72 22 0d 67 6f |btn "bgm|aker".go|
|000045e0| 20 6c 61 73 74 20 63 61 | 72 64 20 6f 66 20 74 68 | last ca|rd of th|
|000045f0| 69 73 20 62 67 0d 64 6f | 6d 65 6e 75 20 22 70 61 |is bg.do|menu "pa|
|00004600| 73 74 65 20 63 61 72 64 | 22 0d 70 75 74 20 74 68 |ste card|".put th|
|00004610| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 74 68 69 73 |e number| of this|
|00004620| 20 62 67 20 69 6e 74 6f | 20 62 67 6e 0d 70 75 74 | bg into| bgn.put|
|00004630| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 66 6c 64 20 | empty i|nto fld |
|00004640| 22 6e 6f 74 65 73 22 0d | 70 75 74 20 72 6f 77 4e |"notes".|put rowN|
|00004650| 61 6d 65 20 69 6e 74 6f | 20 66 6c 64 20 22 72 6f |ame into| fld "ro|
|00004660| 77 4e 61 6d 65 22 0d 70 | 75 74 20 31 20 69 6e 74 |wName".p|ut 1 int|
|00004670| 6f 20 66 6c 64 20 22 63 | 6f 6c 4e 75 6d 62 65 72 |o fld "c|olNumber|
|00004680| 22 0d 73 65 74 20 74 68 | 65 20 63 61 6e 74 64 65 |".set th|e cantde|
|00004690| 6c 65 74 65 20 6f 66 20 | 74 68 69 73 20 62 67 20 |lete of |this bg |
|000046a0| 74 6f 20 66 61 6c 73 65 | 0d 70 75 74 20 66 6c 64 |to false|.put fld|
|000046b0| 20 22 63 6f 6c 4e 61 6d | 65 22 20 6f 66 20 63 64 | "colNam|e" of cd|
|000046c0| 20 31 20 6f 66 20 70 72 | 65 76 69 6f 75 73 20 62 | 1 of pr|evious b|
|000046d0| 67 20 69 6e 74 6f 20 66 | 6c 64 20 22 63 6f 6c 6e |g into f|ld "coln|
|000046e0| 61 6d 65 22 0d 69 66 20 | 74 68 65 77 69 64 20 69 |ame".if |thewid i|
|000046f0| 73 20 6e 6f 74 20 31 20 | 74 68 65 6e 0d 72 65 70 |s not 1 |then.rep|
|00004700| 65 61 74 20 77 69 74 68 | 20 69 20 3d 20 32 20 74 |eat with| i = 2 t|
|00004710| 6f 20 74 68 65 77 69 64 | 0d 64 6f 6d 65 6e 75 20 |o thewid|.domenu |
|00004720| 22 6e 65 77 20 63 61 72 | 64 22 0d 70 75 74 20 72 |"new car|d".put r|
|00004730| 6f 77 4e 61 6d 65 20 69 | 6e 74 6f 20 66 6c 64 20 |owName i|nto fld |
|00004740| 22 72 6f 77 4e 61 6d 65 | 22 0d 70 75 74 20 69 20 |"rowName|".put i |
|00004750| 69 6e 74 6f 20 66 6c 64 | 20 22 63 6f 6c 4e 75 6d |into fld| "colNum|
|00004760| 62 65 72 22 0d 70 75 74 | 20 66 6c 64 20 22 63 6f |ber".put| fld "co|
|00004770| 6c 4e 61 6d 65 22 20 6f | 66 20 63 64 20 69 20 6f |lName" o|f cd i o|
|00004780| 66 20 70 72 65 76 69 6f | 75 73 20 62 67 20 69 6e |f previo|us bg in|
|00004790| 74 6f 20 66 6c 64 20 22 | 63 6f 6c 6e 61 6d 65 22 |to fld "|colname"|
|000047a0| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |.end rep|eat.end |
|000047b0| 69 66 0d 70 75 74 20 66 | 61 6c 73 65 20 69 6e 74 |if.put f|alse int|
|000047c0| 6f 20 64 6f 6e 74 62 6f | 74 68 65 72 0d 72 65 70 |o dontbo|ther.rep|
|000047d0| 65 61 74 20 77 69 74 68 | 20 69 20 3d 20 62 67 6e |eat with| i = bgn|
|000047e0| 20 74 6f 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f | to the |number o|
|000047f0| 66 20 62 67 73 0d 70 75 | 74 20 69 20 69 6e 74 6f |f bgs.pu|t i into|
|00004800| 20 66 6c 64 20 22 72 6f | 77 4e 75 6d 62 65 72 22 | fld "ro|wNumber"|
|00004810| 20 6f 66 20 63 64 20 31 | 20 6f 66 20 62 67 20 69 | of cd 1| of bg i|
|00004820| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 67 6f 20 66 |.end rep|eat.go f|
|00004830| 69 72 73 74 20 63 61 72 | 64 20 6f 66 20 74 68 69 |irst car|d of thi|
|00004840| 73 20 62 67 0d 6f 70 65 | 6e 63 61 72 64 0d 75 6e |s bg.ope|ncard.un|
|00004850| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 20 77 69 74 68 |lock scr|een with|
|00004860| 20 76 69 73 75 61 6c 20 | 22 64 69 73 73 6f 6c 76 | visual |"dissolv|
|00004870| 65 22 0d 65 6e 64 20 4d | 61 6b 65 52 6f 77 0d 6f |e".end M|akeRow.o|
|00004880| 6e 20 4d 61 6b 65 43 6f | 6c 75 6d 6e 0d 67 6c 6f |n MakeCo|lumn.glo|
|00004890| 62 61 6c 20 64 6f 6e 74 | 62 6f 74 68 65 72 0d 61 |bal dont|bother.a|
|000048a0| 73 6b 20 22 4e 61 6d 65 | 20 74 68 65 20 6e 65 77 |sk "Name| the new|
|000048b0| 20 43 6f 6c 75 6d 6e 2e | 2e 2e 22 0d 69 66 20 74 | Column.|..".if t|
|000048c0| 68 65 20 72 65 73 75 6c | 74 20 69 73 20 22 43 61 |he resul|t is "Ca|
|000048d0| 6e 63 65 6c 22 20 74 68 | 65 6e 20 65 78 69 74 20 |ncel" th|en exit |
|000048e0| 4d 61 6b 65 43 6f 6c 75 | 6d 6e 0d 70 75 74 20 69 |MakeColu|mn.put i|
|000048f0| 74 20 69 6e 74 6f 20 63 | 6f 6c 4e 61 6d 65 0d 70 |t into c|olName.p|
|00004900| 75 74 20 22 6e 65 77 20 | 63 61 72 64 22 20 69 6e |ut "new |card" in|
|00004910| 74 6f 20 74 68 65 69 74 | 65 6d 0d 70 75 74 20 74 |to theit|em.put t|
|00004920| 72 75 65 20 69 6e 74 6f | 20 64 6f 6e 74 62 6f 74 |rue into| dontbot|
|00004930| 68 65 72 0d 70 75 74 20 | 66 6c 64 20 22 63 6f 6c |her.put |fld "col|
|00004940| 4e 75 6d 62 65 72 22 20 | 69 6e 74 6f 20 63 6e 0d |Number" |into cn.|
|00004950| 70 75 74 20 28 74 68 65 | 20 6e 75 6d 62 65 72 20 |put (the| number |
|00004960| 6f 66 20 63 64 73 20 69 | 6e 20 74 68 69 73 20 62 |of cds i|n this b|
|00004970| 67 29 2b 31 20 69 6e 74 | 6f 20 6e 63 64 73 0d 6c |g)+1 int|o ncds.l|
|00004980| 6f 63 6b 74 69 74 65 0d | 70 75 74 20 74 68 65 20 |ocktite.|put the |
|00004990| 6e 75 6d 62 65 72 20 6f | 66 20 62 67 73 20 69 6e |number o|f bgs in|
|000049a0| 74 6f 20 6e 6f 62 67 0d | 72 65 70 65 61 74 20 77 |to nobg.|repeat w|
|000049b0| 69 74 68 20 69 20 3d 20 | 31 20 74 6f 20 6e 6f 62 |ith i = |1 to nob|
|000049c0| 67 0d 67 6f 20 63 61 72 | 64 20 63 6e 20 6f 66 20 |g.go car|d cn of |
|000049d0| 62 67 20 69 0d 70 75 74 | 20 66 6c 64 20 22 72 6f |bg i.put| fld "ro|
|000049e0| 77 6e 61 6d 65 22 20 69 | 6e 74 6f 20 72 6f 77 6e |wname" i|nto rown|
|000049f0| 61 6d 65 0d 64 6f 6d 65 | 6e 75 20 74 68 65 69 74 |ame.dome|nu theit|
|00004a00| 65 6d 0d 70 75 74 20 63 | 6f 6c 4e 61 6d 65 20 69 |em.put c|olName i|
|00004a10| 6e 74 6f 20 66 6c 64 20 | 22 63 6f 6c 4e 61 6d 65 |nto fld |"colName|
|00004a20| 22 0d 70 75 74 20 72 6f | 77 6e 61 6d 65 20 69 6e |".put ro|wname in|
|00004a30| 74 6f 20 66 6c 64 20 22 | 72 6f 77 6e 61 6d 65 22 |to fld "|rowname"|
|00004a40| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 6a 20 3d |.repeat |with j =|
|00004a50| 20 28 63 6e 2b 31 29 20 | 74 6f 20 6e 63 64 73 0d | (cn+1) |to ncds.|
|00004a60| 70 75 74 20 6a 20 69 6e | 74 6f 20 66 6c 64 20 22 |put j in|to fld "|
|00004a70| 63 6f 6c 4e 75 6d 62 65 | 72 22 20 6f 66 20 63 64 |colNumbe|r" of cd|
|00004a80| 20 6a 20 6f 66 20 74 68 | 69 73 20 62 67 0d 65 6e | j of th|is bg.en|
|00004a90| 64 20 72 65 70 65 61 74 | 0d 65 6e 64 20 72 65 70 |d repeat|.end rep|
|00004aa0| 65 61 74 0d 70 75 74 20 | 66 61 6c 73 65 20 69 6e |eat.put |false in|
|00004ab0| 74 6f 20 64 6f 6e 74 62 | 6f 74 68 65 72 0d 67 6f |to dontb|other.go|
|00004ac0| 20 63 64 20 28 63 6e 2b | 31 29 20 6f 66 20 66 69 | cd (cn+|1) of fi|
|00004ad0| 72 73 74 20 62 67 0d 6f | 70 65 6e 63 61 72 64 0d |rst bg.o|pencard.|
|00004ae0| 75 6e 6c 6f 63 6b 20 73 | 63 72 65 65 6e 20 77 69 |unlock s|creen wi|
|00004af0| 74 68 20 76 69 73 75 61 | 6c 20 22 64 69 73 73 6f |th visua|l "disso|
|00004b00| 6c 76 65 22 0d 65 6e 64 | 20 4d 61 6b 65 43 6f 6c |lve".end| MakeCol|
|00004b10| 75 6d 6e 0d 0d 6f 6e 20 | 44 65 6c 65 74 65 52 6f |umn..on |DeleteRo|
|00004b20| 77 0d 67 6c 6f 62 61 6c | 20 64 6f 6e 74 62 6f 74 |w.global| dontbot|
|00004b30| 68 65 72 0d 61 6e 73 77 | 65 72 20 22 44 65 6c 65 |her.answ|er "Dele|
|00004b40| 74 65 20 74 68 69 73 20 | 72 6f 77 3f 22 20 77 69 |te this |row?" wi|
|00004b50| 74 68 20 22 59 65 73 22 | 2c 22 4e 6f 22 0d 69 66 |th "Yes"|,"No".if|
|00004b60| 20 69 74 20 69 73 20 22 | 4e 6f 22 20 74 68 65 6e | it is "|No" then|
|00004b70| 20 65 78 69 74 20 64 65 | 6c 65 74 65 52 6f 77 0d | exit de|leteRow.|
|00004b80| 70 75 74 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |put the |number o|
|00004b90| 66 20 62 67 73 20 69 6e | 74 6f 20 6e 6f 62 67 0d |f bgs in|to nobg.|
|00004ba0| 70 75 74 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |put the |number o|
|00004bb0| 66 20 74 68 69 73 20 62 | 67 20 69 6e 74 6f 20 6e |f this b|g into n|
|00004bc0| 74 62 67 0d 69 66 20 74 | 68 65 20 63 61 6e 74 64 |tbg.if t|he cantd|
|00004bd0| 65 6c 65 74 65 20 6f 66 | 20 74 68 69 73 20 62 67 |elete of| this bg|
|00004be0| 20 69 73 20 74 72 75 65 | 20 6f 72 20 6e 6f 62 67 | is true| or nobg|
|00004bf0| 20 3d 20 31 20 74 68 65 | 6e 0d 61 6e 73 77 65 72 | = 1 the|n.answer|
|00004c00| 20 22 43 61 6e d5 74 20 | 64 65 6c 65 74 65 2e 22 | "Can.t |delete."|
|00004c10| 0d 65 78 69 74 20 64 65 | 6c 65 74 65 52 6f 77 0d |.exit de|leteRow.|
|00004c20| 65 6e 64 20 69 66 0d 70 | 75 74 20 22 64 65 6c 65 |end if.p|ut "dele|
|00004c30| 74 65 20 63 61 72 64 22 | 20 69 6e 74 6f 20 74 68 |te card"| into th|
|00004c40| 65 69 74 65 6d 0d 70 75 | 74 20 74 72 75 65 20 69 |eitem.pu|t true i|
|00004c50| 6e 74 6f 20 64 6f 6e 74 | 62 6f 74 68 65 72 0d 70 |nto dont|bother.p|
|00004c60| 75 74 20 66 6c 64 20 22 | 63 6f 6c 4e 75 6d 62 65 |ut fld "|colNumbe|
|00004c70| 72 22 20 69 6e 74 6f 20 | 63 6e 0d 6c 6f 63 6b 74 |r" into |cn.lockt|
|00004c80| 69 74 65 0d 70 75 74 20 | 74 68 65 20 6e 75 6d 62 |ite.put |the numb|
|00004c90| 65 72 20 6f 66 20 63 61 | 72 64 73 20 69 6e 20 74 |er of ca|rds in t|
|00004ca0| 68 69 73 20 62 67 20 69 | 6e 74 6f 20 6e 6f 63 64 |his bg i|nto nocd|
|00004cb0| 73 0d 67 6f 20 66 69 72 | 73 74 20 63 61 72 64 20 |s.go fir|st card |
|00004cc0| 6f 66 20 74 68 69 73 20 | 62 67 0d 72 65 70 65 61 |of this |bg.repea|
|00004cd0| 74 20 77 69 74 68 20 69 | 20 3d 20 31 20 74 6f 20 |t with i| = 1 to |
|00004ce0| 6e 6f 63 64 73 0d 64 6f | 6d 65 6e 75 20 74 68 65 |nocds.do|menu the|
|00004cf0| 69 74 65 6d 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |item.end| repeat.|
|00004d00| 69 66 20 6e 74 62 67 3c | 6e 6f 62 67 20 74 68 65 |if ntbg<|nobg the|
|00004d10| 6e 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 20 |n.repeat| with i |
|00004d20| 3d 20 6e 74 62 67 20 74 | 6f 20 28 6e 6f 62 67 2d |= ntbg t|o (nobg-|
|00004d30| 31 29 0d 70 75 74 20 69 | 20 69 6e 74 6f 20 66 6c |1).put i| into fl|
|00004d40| 64 20 22 72 6f 77 4e 75 | 6d 62 65 72 22 20 6f 66 |d "rowNu|mber" of|
|00004d50| 20 63 64 20 31 20 6f 66 | 20 62 67 20 69 0d 65 6e | cd 1 of| bg i.en|
|00004d60| 64 20 72 65 70 65 61 74 | 0d 65 6e 64 20 69 66 0d |d repeat|.end if.|
|00004d70| 67 6f 20 63 61 72 64 20 | 63 6e 20 6f 66 20 74 68 |go card |cn of th|
|00004d80| 69 73 20 62 67 0d 70 75 | 74 20 66 61 6c 73 65 20 |is bg.pu|t false |
|00004d90| 69 6e 74 6f 20 64 6f 6e | 74 62 6f 74 68 65 72 0d |into don|tbother.|
|00004da0| 6f 70 65 6e 63 61 72 64 | 0d 75 6e 6c 6f 63 6b 20 |opencard|.unlock |
|00004db0| 73 63 72 65 65 6e 20 77 | 69 74 68 20 76 69 73 75 |screen w|ith visu|
|00004dc0| 61 6c 20 22 64 69 73 73 | 6f 6c 76 65 22 0d 65 6e |al "diss|olve".en|
|00004dd0| 64 20 44 65 6c 65 74 65 | 52 6f 77 0d 6f 6e 20 44 |d Delete|Row.on D|
|00004de0| 65 6c 65 74 65 43 6f 6c | 75 6d 6e 0d 67 6c 6f 62 |eleteCol|umn.glob|
|00004df0| 61 6c 20 64 6f 6e 74 62 | 6f 74 68 65 72 0d 61 6e |al dontb|other.an|
|00004e00| 73 77 65 72 20 22 44 65 | 6c 65 74 65 20 74 68 69 |swer "De|lete thi|
|00004e10| 73 20 63 6f 6c 75 6d 6e | 3f 22 20 77 69 74 68 20 |s column|?" with |
|00004e20| 22 59 65 73 22 2c 22 4e | 6f 22 0d 69 66 20 69 74 |"Yes","N|o".if it|
|00004e30| 20 69 73 20 22 4e 6f 22 | 20 74 68 65 6e 20 65 78 | is "No"| then ex|
|00004e40| 69 74 20 44 65 6c 65 74 | 65 43 6f 6c 75 6d 6e 0d |it Delet|eColumn.|
|00004e50| 70 75 74 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |put the |number o|
|00004e60| 66 20 63 61 72 64 73 20 | 69 6e 20 74 68 69 73 20 |f cards |in this |
|00004e70| 62 67 20 69 6e 74 6f 20 | 6e 63 64 73 0d 69 66 20 |bg into |ncds.if |
|00004e80| 6e 63 64 73 20 69 73 20 | 31 20 74 68 65 6e 0d 61 |ncds is |1 then.a|
|00004e90| 6e 73 77 65 72 20 22 43 | 61 6e d5 74 20 64 65 6c |nswer "C|an.t del|
|00004ea0| 65 74 65 2e 22 0d 65 78 | 69 74 20 44 65 6c 65 74 |ete.".ex|it Delet|
|00004eb0| 65 43 6f 6c 75 6d 6e 0d | 65 6e 64 20 69 66 0d 70 |eColumn.|end if.p|
|00004ec0| 75 74 20 22 64 65 6c 65 | 74 65 20 63 61 72 64 22 |ut "dele|te card"|
|00004ed0| 20 69 6e 74 6f 20 74 68 | 65 69 74 65 6d 0d 70 75 | into th|eitem.pu|
|00004ee0| 74 20 74 72 75 65 20 69 | 6e 74 6f 20 64 6f 6e 74 |t true i|nto dont|
|00004ef0| 62 6f 74 68 65 72 0d 70 | 75 74 20 66 6c 64 20 22 |bother.p|ut fld "|
|00004f00| 63 6f 6c 4e 75 6d 62 65 | 72 22 20 69 6e 74 6f 20 |colNumbe|r" into |
|00004f10| 63 6e 0d 6c 6f 63 6b 74 | 69 74 65 0d 70 75 74 20 |cn.lockt|ite.put |
|00004f20| 74 68 65 20 69 64 20 6f | 66 20 6e 65 78 74 20 63 |the id o|f next c|
|00004f30| 61 72 64 20 6f 66 20 74 | 68 69 73 20 62 67 20 69 |ard of t|his bg i|
|00004f40| 6e 74 6f 20 74 68 65 69 | 64 0d 70 75 74 20 74 68 |nto thei|d.put th|
|00004f50| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 62 67 73 20 |e number| of bgs |
|00004f60| 69 6e 74 6f 20 6e 6f 62 | 67 0d 72 65 70 65 61 74 |into nob|g.repeat|
|00004f70| 20 77 69 74 68 20 69 20 | 3d 20 31 20 74 6f 20 6e | with i |= 1 to n|
|00004f80| 6f 62 67 0d 67 6f 20 63 | 61 72 64 20 63 6e 20 6f |obg.go c|ard cn o|
|00004f90| 66 20 62 67 20 69 0d 64 | 6f 6d 65 6e 75 20 74 68 |f bg i.d|omenu th|
|00004fa0| 65 69 74 65 6d 0d 69 66 | 20 63 6e 3c 6e 63 64 73 |eitem.if| cn<ncds|
|00004fb0| 20 74 68 65 6e 0d 72 65 | 70 65 61 74 20 77 69 74 | then.re|peat wit|
|00004fc0| 68 20 6a 20 3d 20 63 6e | 20 74 6f 20 28 6e 63 64 |h j = cn| to (ncd|
|00004fd0| 73 2d 31 29 0d 70 75 74 | 20 6a 20 69 6e 74 6f 20 |s-1).put| j into |
|00004fe0| 66 6c 64 20 22 63 6f 6c | 4e 75 6d 62 65 72 22 20 |fld "col|Number" |
|00004ff0| 6f 66 20 63 64 20 6a 20 | 6f 66 20 74 68 69 73 20 |of cd j |of this |
|00005000| 62 67 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 65 6e |bg.end r|epeat.en|
|00005010| 64 20 69 66 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |d if.end| repeat.|
|00005020| 67 6f 20 74 68 65 69 64 | 0d 70 75 74 20 66 61 6c |go theid|.put fal|
|00005030| 73 65 20 69 6e 74 6f 20 | 64 6f 6e 74 62 6f 74 68 |se into |dontboth|
|00005040| 65 72 0d 6f 70 65 6e 63 | 61 72 64 0d 75 6e 6c 6f |er.openc|ard.unlo|
|00005050| 63 6b 20 73 63 72 65 65 | 6e 20 77 69 74 68 20 76 |ck scree|n with v|
|00005060| 69 73 75 61 6c 20 22 64 | 69 73 73 6f 6c 76 65 22 |isual "d|issolve"|
|00005070| 0d 65 6e 64 20 44 65 6c | 65 74 65 43 6f 6c 75 6d |.end Del|eteColum|
|00005080| 6e 0d 0d 6f 6e 20 64 6f | 6d 65 6e 75 20 74 68 65 |n..on do|menu the|
|00005090| 49 74 65 6d 2c 74 68 65 | 4d 65 6e 75 0d 67 6c 6f |Item,the|Menu.glo|
|000050a0| 62 61 6c 20 64 6f 6e 74 | 62 6f 74 68 65 72 2c 62 |bal dont|bother,b|
|000050b0| 73 6d 73 0d 69 66 20 64 | 6f 6e 74 62 6f 74 68 65 |sms.if d|ontbothe|
|000050c0| 72 20 69 73 20 74 72 75 | 65 20 74 68 65 6e 20 70 |r is tru|e then p|
|000050d0| 61 73 73 20 64 6f 6d 65 | 6e 75 0d 69 66 20 62 73 |ass dome|nu.if bs|
|000050e0| 6d 73 20 69 73 20 6e 6f | 74 20 65 6d 70 74 79 20 |ms is no|t empty |
|000050f0| 74 68 65 6e 0d 69 66 20 | 22 6c 69 6e 78 72 65 73 |then.if |"linxres|
|00005100| 22 20 69 73 20 6e 6f 74 | 20 69 6e 20 74 68 65 20 |" is not| in the |
|00005110| 73 74 61 63 6b 73 49 6e | 55 73 65 20 74 68 65 6e |stacksIn|Use then|
|00005120| 20 70 61 73 73 20 64 6f | 6d 65 6e 75 0d 65 6e 64 | pass do|menu.end|
|00005130| 20 69 66 0d 69 66 20 28 | 74 68 65 69 74 65 6d 20 | if.if (|theitem |
|00005140| 69 73 20 22 70 61 73 74 | 65 20 63 61 72 64 22 20 |is "past|e card" |
|00005150| 6f 72 20 74 68 65 69 74 | 65 6d 20 69 73 20 22 63 |or theit|em is "c|
|00005160| 75 74 20 63 61 72 64 22 | 29 20 61 6e 64 20 74 68 |ut card"|) and th|
|00005170| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 62 67 73 20 |e number| of bgs |
|00005180| 69 73 20 6e 6f 74 20 74 | 68 65 20 6e 75 6d 62 65 |is not t|he numbe|
|00005190| 72 20 6f 66 20 63 64 73 | 20 74 68 65 6e 0d 61 6e |r of cds| then.an|
|000051a0| 73 77 65 72 20 22 54 68 | 65 20 74 61 62 6c 65 20 |swer "Th|e table |
|000051b0| 77 6f 75 6c 64 20 62 65 | 20 64 69 73 72 75 70 74 |would be| disrupt|
|000051c0| 65 64 20 69 66 20 79 6f | 75 20 64 6f 20 74 68 69 |ed if yo|u do thi|
|000051d0| 73 2e 22 0d 65 6c 73 65 | 0d 69 66 20 28 74 68 65 |s.".else|.if (the|
|000051e0| 49 74 65 6d 20 69 73 20 | 6e 6f 74 20 22 4e 65 77 |Item is |not "New|
|000051f0| 20 43 61 72 64 22 20 61 | 6e 64 20 74 68 65 49 74 | Card" a|nd theIt|
|00005200| 65 6d 20 69 73 20 6e 6f | 74 20 22 64 65 6c 65 74 |em is no|t "delet|
|00005210| 65 20 43 61 72 64 22 29 | 20 74 68 65 6e 20 70 61 |e Card")| then pa|
|00005220| 73 73 20 64 6f 6d 65 6e | 75 0d 65 6c 73 65 0d 69 |ss domen|u.else.i|
|00005230| 66 20 74 68 65 49 74 65 | 6d 20 69 73 20 22 4e 65 |f theIte|m is "Ne|
|00005240| 77 20 43 61 72 64 22 20 | 74 68 65 6e 0d 61 6e 73 |w Card" |then.ans|
|00005250| 77 65 72 20 22 4d 61 6b | 65 20 61 20 6e 65 77 20 |wer "Mak|e a new |
|00005260| 52 4f 57 20 6f 72 20 61 | 20 6e 65 77 20 43 4f 4c |ROW or a| new COL|
|00005270| 55 4d 4e 3f 22 20 77 69 | 74 68 20 22 52 6f 77 22 |UMN?" wi|th "Row"|
|00005280| 2c 22 43 6f 6c 75 6d 6e | 22 2c 22 43 61 6e 63 65 |,"Column|","Cance|
|00005290| 6c 22 0d 69 66 20 69 74 | 20 69 73 20 6e 6f 74 20 |l".if it| is not |
|000052a0| 22 43 61 6e 63 65 6c 22 | 20 74 68 65 6e 0d 69 66 |"Cancel"| then.if|
|000052b0| 20 69 74 20 69 73 20 22 | 52 6f 77 22 20 74 68 65 | it is "|Row" the|
|000052c0| 6e 20 6d 61 6b 65 52 6f | 77 0d 65 6c 73 65 20 6d |n makeRo|w.else m|
|000052d0| 61 6b 65 43 6f 6c 75 6d | 6e 0d 65 6e 64 20 69 66 |akeColum|n.end if|
|000052e0| 0d 65 6c 73 65 0d 61 6e | 73 77 65 72 20 22 44 65 |.else.an|swer "De|
|000052f0| 6c 65 74 65 20 63 75 72 | 72 65 6e 74 20 52 4f 57 |lete cur|rent ROW|
|00005300| 20 6f 72 20 63 75 72 72 | 65 6e 74 20 43 4f 4c 55 | or curr|ent COLU|
|00005310| 4d 4e 3f 22 20 77 69 74 | 68 20 22 52 6f 77 22 2c |MN?" wit|h "Row",|
|00005320| 22 43 6f 6c 75 6d 6e 22 | 2c 22 43 61 6e 63 65 6c |"Column"|,"Cancel|
|00005330| 22 0d 69 66 20 69 74 20 | 69 73 20 6e 6f 74 20 22 |".if it |is not "|
|00005340| 43 61 6e 63 65 6c 22 20 | 74 68 65 6e 0d 69 66 20 |Cancel" |then.if |
|00005350| 69 74 20 69 73 20 22 52 | 6f 77 22 20 74 68 65 6e |it is "R|ow" then|
|00005360| 20 64 65 6c 65 74 65 52 | 6f 77 0d 65 6c 73 65 20 | deleteR|ow.else |
|00005370| 64 65 6c 65 74 65 43 6f | 6c 75 6d 6e 0d 65 6e 64 |deleteCo|lumn.end|
|00005380| 20 69 66 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 | if.end |if.end i|
|00005390| 66 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 64 6f 6d |f.end if|.end dom|
|000053a0| 65 6e 75 0d 6f 6e 20 6c | 6f 63 6b 74 69 74 65 0d |enu.on l|ocktite.|
|000053b0| 73 65 74 20 6c 6f 63 6b | 73 63 72 65 65 6e 20 74 |set lock|screen t|
|000053c0| 6f 20 74 72 75 65 0d 73 | 65 74 20 6c 6f 63 6b 72 |o true.s|et lockr|
|000053d0| 65 63 65 6e 74 20 74 6f | 20 74 72 75 65 0d 73 65 |ecent to| true.se|
|000053e0| 74 20 6c 6f 63 6b 6d 65 | 73 73 61 67 65 73 20 74 |t lockme|ssages t|
|000053f0| 6f 20 74 72 75 65 0d 73 | 65 74 20 63 75 72 73 6f |o true.s|et curso|
|00005400| 72 20 74 6f 20 77 61 74 | 63 68 0d 65 6e 64 20 6c |r to wat|ch.end l|
|00005410| 6f 63 6b 74 69 74 65 0d | 6f 6e 20 73 62 6f 61 74 |ocktite.|on sboat|
|00005420| 0d 73 65 6c 65 63 74 20 | 65 6d 70 74 79 0d 70 75 |.select |empty.pu|
|00005430| 74 20 6e 6f 74 20 74 68 | 65 20 6c 6f 63 6b 74 65 |t not th|e lockte|
|00005440| 78 74 20 6f 66 20 66 69 | 65 6c 64 20 22 6e 6f 74 |xt of fi|eld "not|
|00005450| 65 73 22 20 69 6e 74 6f | 20 6c 74 0d 73 65 74 20 |es" into| lt.set |
|00005460| 74 68 65 20 6c 6f 63 6b | 74 65 78 74 20 6f 66 20 |the lock|text of |
|00005470| 66 69 65 6c 64 20 22 6e | 6f 74 65 73 22 20 74 6f |field "n|otes" to|
|00005480| 20 6c 74 0d 73 65 74 20 | 74 68 65 20 6c 6f 63 6b | lt.set |the lock|
|00005490| 74 65 78 74 20 6f 66 20 | 66 69 65 6c 64 20 22 74 |text of |field "t|
|000054a0| 68 65 6d 61 73 74 65 72 | 22 20 74 6f 20 6c 74 0d |hemaster|" to lt.|
|000054b0| 73 65 74 20 74 68 65 20 | 6c 6f 63 6b 74 65 78 74 |set the |locktext|
|000054c0| 20 6f 66 20 66 69 65 6c | 64 20 22 74 6f 63 22 20 | of fiel|d "toc" |
|000054d0| 74 6f 20 6c 74 0d 65 6e | 64 20 73 62 6f 61 74 0d |to lt.en|d sboat.|
|000054e0| 6f 6e 20 76 72 61 69 64 | 6f 63 0d 67 6c 6f 62 61 |on vraid|oc.globa|
|000054f0| 6c 20 62 73 6d 73 0d 69 | 66 20 62 73 6d 73 20 69 |l bsms.i|f bsms i|
|00005500| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 74 68 65 6e |s not em|pty then|
|00005510| 20 70 61 73 73 20 76 72 | 61 69 64 6f 63 0d 65 6c | pass vr|aidoc.el|
|00005520| 73 65 20 6c 79 73 61 20 | 74 72 75 65 0d 73 65 6c |se lysa |true.sel|
|00005530| 65 63 74 20 65 6d 70 74 | 79 0d 68 69 64 65 20 6d |ect empt|y.hide m|
|00005540| 73 67 0d 65 6e 64 20 76 | 72 61 69 64 6f 63 0d 6f |sg.end v|raidoc.o|
|00005550| 6e 20 6c 68 74 20 6d 65 | 63 0d 6c 79 73 61 20 6d |n lht me|c.lysa m|
|00005560| 65 63 0d 65 6e 64 20 6c | 68 74 0d 6f 6e 20 6c 79 |ec.end l|ht.on ly|
|00005570| 73 61 20 6d 65 63 0d 67 | 6c 6f 62 61 6c 20 62 73 |sa mec.g|lobal bs|
|00005580| 6d 73 2c 74 68 65 69 64 | 30 0d 69 66 20 62 73 6d |ms,theid|0.if bsm|
|00005590| 73 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 20 74 |s is not| empty t|
|000055a0| 68 65 6e 20 70 61 73 73 | 20 6c 79 73 61 0d 69 66 |hen pass| lysa.if|
|000055b0| 20 74 68 65 20 73 68 69 | 66 74 4b 65 79 20 69 73 | the shi|ftKey is|
|000055c0| 20 64 6f 77 6e 20 6f 72 | 20 74 68 65 20 6f 70 74 | down or| the opt|
|000055d0| 69 6f 6e 4b 65 79 20 69 | 73 20 64 6f 77 6e 20 6f |ionKey i|s down o|
|000055e0| 72 20 74 68 65 20 63 6f | 6d 6d 61 6e 64 4b 65 79 |r the co|mmandKey|
|000055f0| 20 69 73 20 64 6f 77 6e | 20 74 68 65 6e 20 70 75 | is down| then pu|
|00005600| 74 20 74 72 75 65 20 69 | 6e 74 6f 20 63 6f 6f 6c |t true i|nto cool|
|00005610| 0d 65 6c 73 65 20 70 75 | 74 20 66 61 6c 73 65 20 |.else pu|t false |
|00005620| 69 6e 74 6f 20 63 6f 6f | 6c 0d 73 65 74 20 63 75 |into coo|l.set cu|
|00005630| 72 73 6f 72 20 74 6f 20 | 77 61 74 63 68 0d 70 75 |rsor to |watch.pu|
|00005640| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 74 68 65 |t empty |into the|
|00005650| 4c 69 6e 65 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |Line.put| empty i|
|00005660| 6e 74 6f 20 68 65 79 0d | 70 75 74 20 65 6d 70 74 |nto hey.|put empt|
|00005670| 79 20 69 6e 74 6f 20 74 | 68 65 53 74 79 6c 65 0d |y into t|heStyle.|
|00005680| 69 66 20 6d 65 63 20 69 | 73 20 74 72 75 65 20 74 |if mec i|s true t|
|00005690| 68 65 6e 0d 70 75 74 20 | 74 68 65 20 63 6c 69 63 |hen.put |the clic|
|000056a0| 6b 43 68 75 6e 6b 20 69 | 6e 74 6f 20 74 68 65 43 |kChunk i|nto theC|
|000056b0| 68 75 6e 6b 4f 66 54 65 | 78 74 0d 69 66 20 74 68 |hunkOfTe|xt.if th|
|000056c0| 65 43 68 75 6e 6b 4f 66 | 54 65 78 74 20 69 73 20 |eChunkOf|Text is |
|000056d0| 65 6d 70 74 79 20 74 68 | 65 6e 20 65 78 69 74 20 |empty th|en exit |
|000056e0| 6c 79 73 61 0d 70 75 74 | 20 74 68 65 20 74 65 78 |lysa.put| the tex|
|000056f0| 74 53 74 79 6c 65 20 6f | 66 20 74 68 65 43 68 75 |tStyle o|f theChu|
|00005700| 6e 6b 4f 66 54 65 78 74 | 20 69 6e 74 6f 20 74 68 |nkOfText| into th|
|00005710| 65 53 74 79 6c 65 0d 69 | 66 20 22 67 72 6f 75 70 |eStyle.i|f "group|
|00005720| 22 20 69 73 20 6e 6f 74 | 20 69 6e 20 74 68 65 53 |" is not| in theS|
|00005730| 74 79 6c 65 20 74 68 65 | 6e 0d 70 75 74 20 76 61 |tyle the|n.put va|
|00005740| 6c 75 65 28 74 68 65 20 | 63 6c 69 63 6b 6c 69 6e |lue(the |clicklin|
|00005750| 65 29 20 69 6e 74 6f 20 | 6c 61 70 68 41 0d 70 75 |e) into |laphA.pu|
|00005760| 74 20 64 6f 77 68 6f 6c | 65 4c 69 6e 65 28 29 20 |t dowhol|eLine() |
|00005770| 69 6e 74 6f 20 70 69 74 | 63 68 69 74 0d 65 6c 73 |into pit|chit.els|
|00005780| 65 0d 70 75 74 20 74 68 | 65 20 63 6c 69 63 6b 54 |e.put th|e clickT|
|00005790| 65 78 74 20 69 6e 74 6f | 20 6c 61 70 68 41 0d 73 |ext into| laphA.s|
|000057a0| 65 6c 65 63 74 20 74 68 | 65 43 68 75 6e 6b 4f 66 |elect th|eChunkOf|
|000057b0| 54 65 78 74 0d 65 6e 64 | 20 69 66 0d 65 6c 73 65 |Text.end| if.else|
|000057c0| 0d 70 75 74 20 6d 65 63 | 20 69 6e 74 6f 20 6c 61 |.put mec| into la|
|000057d0| 70 68 41 0d 65 6e 64 20 | 69 66 0d 70 75 74 20 73 |phA.end |if.put s|
|000057e0| 74 72 69 70 70 61 74 68 | 32 28 6c 61 70 68 41 29 |trippath|2(laphA)|
|000057f0| 20 69 6e 74 6f 20 6c 61 | 70 68 41 0d 69 66 20 6c | into la|phA.if l|
|00005800| 61 70 68 41 20 69 73 20 | 65 6d 70 74 79 20 74 68 |aphA is |empty th|
|00005810| 65 6e 20 65 78 69 74 20 | 6c 79 73 61 0d 70 75 74 |en exit |lysa.put|
|00005820| 20 71 75 6f 74 65 20 26 | 20 6c 61 70 68 41 20 26 | quote &| laphA &|
|00005830| 20 71 75 6f 74 65 20 69 | 6e 74 6f 20 6c 61 70 68 | quote i|nto laph|
|00005840| 42 0d 70 75 74 20 73 68 | 6f 72 74 20 6e 61 6d 65 |B.put sh|ort name|
|00005850| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 20 69 | of this| stack i|
|00005860| 6e 74 6f 20 73 6e 74 68 | 73 0d 70 75 74 20 71 75 |nto snth|s.put qu|
|00005870| 6f 74 65 20 26 20 73 6e | 74 68 73 20 26 20 71 75 |ote & sn|ths & qu|
|00005880| 6f 74 65 20 69 6e 74 6f | 20 73 6e 74 68 73 42 0d |ote into| snthsB.|
|00005890| 70 75 74 20 73 68 6f 72 | 74 20 6e 61 6d 65 20 6f |put shor|t name o|
|000058a0| 66 20 74 68 69 73 20 63 | 61 72 64 20 69 6e 74 6f |f this c|ard into|
|000058b0| 20 73 6e 74 68 63 0d 70 | 75 74 20 71 75 6f 74 65 | snthc.p|ut quote|
|000058c0| 20 26 20 73 6e 74 68 63 | 20 26 20 71 75 6f 74 65 | & snthc| & quote|
|000058d0| 20 69 6e 74 6f 20 73 6e | 74 68 63 42 0d 70 75 74 | into sn|thcB.put|
|000058e0| 20 63 6f 6d 70 6f 73 69 | 64 28 29 20 26 20 72 65 | composi|d() & re|
|000058f0| 74 75 72 6e 20 61 66 74 | 65 72 20 74 68 65 69 64 |turn aft|er theid|
|00005900| 30 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |0.if the|re is a |
|00005910| 63 61 72 64 20 6c 61 70 | 68 41 20 61 6e 64 20 6c |card lap|hA and l|
|00005920| 61 70 68 41 20 69 73 20 | 6e 6f 74 20 73 6e 74 68 |aphA is |not snth|
|00005930| 63 20 74 68 65 6e 0d 76 | 69 73 75 61 6c 20 69 72 |c then.v|isual ir|
|00005940| 69 73 20 63 6c 6f 73 65 | 0d 67 6f 20 63 61 72 64 |is close|.go card|
|00005950| 20 6c 61 70 68 41 0d 65 | 78 69 74 20 6c 79 73 61 | laphA.e|xit lysa|
|00005960| 0d 65 6c 73 65 0d 69 66 | 20 74 68 65 72 65 20 69 |.else.if| there i|
|00005970| 73 20 61 20 73 74 61 63 | 6b 20 6c 61 70 68 41 20 |s a stac|k laphA |
|00005980| 61 6e 64 20 6c 61 70 68 | 41 20 69 73 20 6e 6f 74 |and laph|A is not|
|00005990| 20 73 6e 74 68 73 20 74 | 68 65 6e 0d 62 73 6d 73 | snths t|hen.bsms|
|000059a0| 6e 77 69 6e 20 6c 61 70 | 68 41 0d 65 78 69 74 20 |nwin lap|hA.exit |
|000059b0| 6c 79 73 61 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |lysa.end| if.end |
|000059c0| 69 66 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |if.put e|mpty int|
|000059d0| 6f 20 68 65 79 0d 69 66 | 20 74 68 65 72 65 20 69 |o hey.if| there i|
|000059e0| 73 20 61 20 66 69 65 6c | 64 20 22 74 68 65 6d 61 |s a fiel|d "thema|
|000059f0| 73 74 65 72 22 20 74 68 | 65 6e 0d 70 75 74 20 66 |ster" th|en.put f|
|00005a00| 69 65 6c 64 20 22 74 68 | 65 6d 61 73 74 65 72 22 |ield "th|emaster"|
|00005a10| 20 69 6e 74 6f 20 77 65 | 69 67 68 73 61 74 6f 6e | into we|ighsaton|
|00005a20| 0d 70 75 74 20 73 65 61 | 72 63 68 28 77 65 69 67 |.put sea|rch(weig|
|00005a30| 68 73 61 74 6f 6e 2c 6c | 61 70 68 42 2c 66 61 6c |hsaton,l|aphB,fal|
|00005a40| 73 65 29 20 69 6e 74 6f | 20 68 65 79 0d 69 66 20 |se) into| hey.if |
|00005a50| 68 65 79 20 69 73 20 6e | 6f 74 20 65 6d 70 74 79 |hey is n|ot empty|
|00005a60| 20 74 68 65 6e 0d 70 75 | 74 20 6c 69 6e 65 20 69 | then.pu|t line i|
|00005a70| 74 65 6d 20 31 20 6f 66 | 20 68 65 79 20 6f 66 20 |tem 1 of| hey of |
|00005a80| 77 65 69 67 68 73 61 74 | 6f 6e 20 69 6e 74 6f 20 |weighsat|on into |
|00005a90| 74 68 65 6c 69 6e 65 0d | 70 75 74 20 74 72 75 65 |theline.|put true|
|00005aa0| 20 69 6e 74 6f 20 6c 6f | 63 61 6c 6c 69 6e 6b 0d | into lo|callink.|
|00005ab0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 69 66 |end if.e|nd if.if|
|00005ac0| 20 68 65 79 20 69 73 20 | 6e 6f 74 20 65 6d 70 74 | hey is |not empt|
|00005ad0| 79 20 74 68 65 6e 0d 70 | 75 74 20 63 6f 6d 70 6f |y then.p|ut compo|
|00005ae0| 73 6e 6f 6d 28 29 20 69 | 6e 74 6f 20 74 68 65 74 |snom() i|nto thet|
|00005af0| 69 74 6c 65 52 0d 70 75 | 74 20 64 69 73 70 6f 6e |itleR.pu|t dispon|
|00005b00| 69 62 6c 65 28 74 68 65 | 6c 69 6e 65 29 20 69 6e |ible(the|line) in|
|00005b10| 74 6f 20 69 6d 68 65 72 | 65 0d 69 66 20 69 6d 68 |to imher|e.if imh|
|00005b20| 65 72 65 20 69 73 20 66 | 61 6c 73 65 20 74 68 65 |ere is f|alse the|
|00005b30| 6e 20 65 78 69 74 20 6c | 79 73 61 0d 70 75 74 20 |n exit l|ysa.put |
|00005b40| 69 74 65 6d 20 31 20 6f | 66 20 69 6d 68 65 72 65 |item 1 o|f imhere|
|00005b50| 20 69 6e 74 6f 20 78 0d | 70 75 74 20 69 74 65 6d | into x.|put item|
|00005b60| 20 32 20 6f 66 20 69 6d | 68 65 72 65 20 69 6e 74 | 2 of im|here int|
|00005b70| 6f 20 79 0d 73 74 64 6c | 69 6e 6b 20 78 2c 79 0d |o y.stdl|ink x,y.|
|00005b80| 65 78 69 74 20 6c 79 73 | 61 0d 65 6e 64 20 69 66 |exit lys|a.end if|
|00005b90| 0d 2d 2d 20 6c 69 6e 6b | 20 66 61 69 6c 73 0d 64 |.-- link| fails.d|
|00005ba0| 65 6c 65 74 65 20 6c 61 | 73 74 20 6c 69 6e 65 20 |elete la|st line |
|00005bb0| 6f 66 20 74 68 65 69 64 | 30 0d 69 66 20 63 6f 6f |of theid|0.if coo|
|00005bc0| 6c 20 69 73 20 74 72 75 | 65 20 74 68 65 6e 0d 70 |l is tru|e then.p|
|00005bd0| 75 74 20 22 46 69 6e 64 | 20 73 74 61 63 6b 3a 22 |ut "Find| stack:"|
|00005be0| 20 26 26 20 6c 61 70 68 | 41 20 69 6e 74 6f 20 70 | && laph|A into p|
|00005bf0| 72 6f 6d 70 74 20 2d 2d | 20 c6 0d 70 75 74 20 73 |rompt --| ..put s|
|00005c00| 65 6c 65 63 74 4c 59 53 | 46 69 6c 65 28 70 72 6f |electLYS|File(pro|
|00005c10| 6d 70 74 29 20 69 6e 74 | 6f 20 6c 6f 6e 67 46 69 |mpt) int|o longFi|
|00005c20| 6c 65 4e 61 6d 65 0d 70 | 75 74 20 6c 61 73 74 48 |leName.p|ut lastH|
|00005c30| 43 49 74 65 6d 28 22 3a | 22 2c 6c 6f 6e 67 46 69 |CItem(":|",longFi|
|00005c40| 6c 65 4e 61 6d 65 29 20 | 69 6e 74 6f 20 73 68 6f |leName) |into sho|
|00005c50| 72 74 46 69 6c 65 4e 61 | 6d 65 0d 73 65 74 20 63 |rtFileNa|me.set c|
|00005c60| 75 72 73 6f 72 20 74 6f | 20 77 61 74 63 68 0d 70 |ursor to| watch.p|
|00005c70| 75 74 20 67 65 74 4c 59 | 53 50 61 74 68 4e 61 6d |ut getLY|SPathNam|
|00005c80| 65 28 6c 6f 6e 67 46 69 | 6c 65 4e 61 6d 65 29 20 |e(longFi|leName) |
|00005c90| 69 6e 74 6f 20 74 68 65 | 50 61 74 68 0d 75 70 64 |into the|Path.upd|
|00005ca0| 61 74 65 4c 59 53 50 61 | 74 68 73 20 74 68 65 50 |ateLYSPa|ths theP|
|00005cb0| 61 74 68 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 6c |ath.end |if.end l|
|00005cc0| 79 73 61 0d 66 75 6e 63 | 74 69 6f 6e 20 64 6f 77 |ysa.func|tion dow|
|00005cd0| 68 6f 6c 65 6c 69 6e 65 | 0d 70 75 74 20 63 6c 69 |holeline|.put cli|
|00005ce0| 63 6b 4c 69 6e 65 28 29 | 20 69 6e 74 6f 20 74 68 |ckLine()| into th|
|00005cf0| 65 4c 69 6e 65 0d 70 75 | 74 20 74 68 65 20 76 61 |eLine.pu|t the va|
|00005d00| 6c 75 65 20 6f 66 20 63 | 6c 69 63 6b 4c 69 6e 65 |lue of c|lickLine|
|00005d10| 28 29 20 69 6e 74 6f 20 | 61 64 72 65 73 73 65 0d |() into |adresse.|
|00005d20| 69 66 20 61 64 72 65 73 | 73 65 20 69 73 20 65 6d |if adres|se is em|
|00005d30| 70 74 79 20 74 68 65 6e | 20 72 65 74 75 72 6e 20 |pty then| return |
|00005d40| 65 6d 70 74 79 0d 73 65 | 6c 65 63 74 20 74 68 65 |empty.se|lect the|
|00005d50| 4c 69 6e 65 0d 72 65 74 | 75 72 6e 20 61 64 72 65 |Line.ret|urn adre|
|00005d60| 73 73 65 0d 65 6e 64 20 | 64 6f 77 68 6f 6c 65 6c |sse.end |dowholel|
|00005d70| 69 6e 65 0d 6f 6e 20 73 | 74 64 6c 69 6e 6b 20 78 |ine.on s|tdlink x|
|00005d80| 2c 79 0d 67 6c 6f 62 61 | 6c 20 72 6c 77 74 2c 6e |,y.globa|l rlwt,n|
|00005d90| 6f 6f 62 73 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |oobs.put| empty i|
|00005da0| 6e 74 6f 20 6e 6f 6f 62 | 73 0d 70 75 74 20 65 6d |nto noob|s.put em|
|00005db0| 70 74 79 20 69 6e 74 6f | 20 6e 6f 6f 62 73 30 0d |pty into| noobs0.|
|00005dc0| 69 66 20 79 20 69 73 20 | 65 6d 70 74 79 20 74 68 |if y is |empty th|
|00005dd0| 65 6e 0d 70 75 74 20 64 | 69 73 70 6f 6e 69 62 6c |en.put d|isponibl|
|00005de0| 65 28 78 29 20 69 6e 74 | 6f 20 74 68 65 6c 69 6e |e(x) int|o thelin|
|00005df0| 65 0d 70 75 74 20 69 74 | 65 6d 20 31 20 6f 66 20 |e.put it|em 1 of |
|00005e00| 74 68 65 6c 69 6e 65 20 | 69 6e 74 6f 20 78 0d 70 |theline |into x.p|
|00005e10| 75 74 20 69 74 65 6d 20 | 32 20 6f 66 20 74 68 65 |ut item |2 of the|
|00005e20| 6c 69 6e 65 20 69 6e 74 | 6f 20 79 0d 65 6e 64 20 |line int|o y.end |
|00005e30| 69 66 0d 70 75 74 20 67 | 65 6e 70 61 74 68 28 79 |if.put g|enpath(y|
|00005e40| 29 20 69 6e 74 6f 20 79 | 0d 69 66 20 74 68 65 72 |) into y|.if ther|
|00005e50| 65 20 69 73 20 61 20 77 | 69 6e 64 6f 77 20 79 20 |e is a w|indow y |
|00005e60| 74 68 65 6e 0d 69 66 20 | 70 61 72 70 28 79 29 20 |then.if |parp(y) |
|00005e70| 69 73 20 6e 6f 74 20 79 | 20 74 68 65 6e 0d 6c 6f |is not y| then.lo|
|00005e80| 63 6b 20 73 63 72 65 65 | 6e 0d 73 68 6f 77 20 77 |ck scree|n.show w|
|00005e90| 69 6e 64 6f 77 20 79 0d | 70 75 74 20 74 72 75 65 |indow y.|put true|
|00005ea0| 20 69 6e 74 6f 20 6e 6f | 6f 62 73 30 0d 65 6e 64 | into no|obs0.end|
|00005eb0| 20 69 66 0d 69 66 20 73 | 68 6f 72 74 20 6e 61 6d | if.if s|hort nam|
|00005ec0| 65 20 6f 66 20 74 68 69 | 73 20 63 61 72 64 20 69 |e of thi|s card i|
|00005ed0| 73 20 6e 6f 74 20 78 20 | 61 6e 64 20 78 20 69 73 |s not x |and x is|
|00005ee0| 20 6e 6f 74 20 65 6d 70 | 74 79 20 74 68 65 6e 0d | not emp|ty then.|
|00005ef0| 69 66 20 74 68 65 72 65 | 20 69 73 20 61 20 63 61 |if there| is a ca|
|00005f00| 72 64 20 78 20 6f 72 20 | 28 22 43 61 72 64 20 69 |rd x or |("Card i|
|00005f10| 64 22 20 69 73 20 69 6e | 20 78 20 61 6e 64 20 74 |d" is in| x and t|
|00005f20| 68 65 72 65 20 69 73 20 | 61 20 63 61 72 64 20 69 |here is |a card i|
|00005f30| 64 20 28 6c 61 73 74 20 | 77 6f 72 64 20 6f 66 20 |d (last |word of |
|00005f40| 78 29 29 20 74 68 65 6e | 0d 69 66 20 6e 6f 6f 62 |x)) then|.if noob|
|00005f50| 73 30 20 69 73 20 74 72 | 75 65 20 74 68 65 6e 20 |s0 is tr|ue then |
|00005f60| 70 75 74 20 74 72 75 65 | 20 69 6e 74 6f 20 6e 6f |put true| into no|
|00005f70| 6f 62 73 0d 69 66 20 74 | 68 65 20 6c 6f 63 6b 73 |obs.if t|he locks|
|00005f80| 63 72 65 65 6e 20 69 73 | 20 66 61 6c 73 65 20 74 |creen is| false t|
|00005f90| 68 65 6e 20 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |hen lock| screen.|
|00005fa0| 69 66 20 22 43 61 72 64 | 20 69 64 22 20 69 73 20 |if "Card| id" is |
|00005fb0| 6e 6f 74 20 69 6e 20 78 | 20 74 68 65 6e 20 67 6f |not in x| then go|
|00005fc0| 20 63 61 72 64 20 78 0d | 65 6c 73 65 20 67 6f 20 | card x.|else go |
|00005fd0| 63 61 72 64 20 69 64 20 | 28 6c 61 73 74 20 77 6f |card id |(last wo|
|00005fe0| 72 64 20 6f 66 20 78 29 | 0d 75 6e 6c 6f 63 6b 20 |rd of x)|.unlock |
|00005ff0| 73 63 72 65 65 6e 20 77 | 69 74 68 20 76 69 73 75 |screen w|ith visu|
|00006000| 61 6c 20 69 72 69 73 20 | 63 6c 6f 73 65 0d 70 75 |al iris |close.pu|
|00006010| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 6e 6f 6f |t empty |into noo|
|00006020| 62 73 0d 65 6c 73 65 20 | 70 75 74 20 22 2d 2d 22 |bs.else |put "--"|
|00006030| 20 26 26 20 78 20 26 20 | 22 3f 22 0d 65 6c 73 65 | && x & |"?".else|
|00006040| 20 75 6e 6c 6f 63 6b 20 | 73 63 72 65 65 6e 20 77 | unlock |screen w|
|00006050| 69 74 68 20 76 69 73 75 | 61 6c 20 69 72 69 73 20 |ith visu|al iris |
|00006060| 63 6c 6f 73 65 0d 65 6c | 73 65 0d 69 66 20 78 20 |close.el|se.if x |
|00006070| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 67 6f |is empty| then go|
|00006080| 20 73 74 61 63 6b 20 79 | 20 69 6e 20 61 20 6e 65 | stack y| in a ne|
|00006090| 77 20 77 69 6e 64 6f 77 | 0d 65 6c 73 65 0d 69 66 |w window|.else.if|
|000060a0| 20 22 43 61 72 64 20 69 | 64 22 20 69 73 20 6e 6f | "Card i|d" is no|
|000060b0| 74 20 69 6e 20 78 20 74 | 68 65 6e 20 67 6f 20 63 |t in x t|hen go c|
|000060c0| 61 72 64 20 78 20 6f 66 | 20 73 74 61 63 6b 20 79 |ard x of| stack y|
|000060d0| 20 69 6e 20 61 20 6e 65 | 77 20 77 69 6e 64 6f 77 | in a ne|w window|
|000060e0| 0d 65 6c 73 65 20 67 6f | 20 63 61 72 64 20 69 64 |.else go| card id|
|000060f0| 20 28 6c 61 73 74 20 77 | 6f 72 64 20 6f 66 20 78 | (last w|ord of x|
|00006100| 29 20 6f 66 20 73 74 61 | 63 6b 20 79 20 69 6e 20 |) of sta|ck y in |
|00006110| 61 20 6e 65 77 20 77 69 | 6e 64 6f 77 0d 65 6e 64 |a new wi|ndow.end|
|00006120| 20 69 66 0d 69 66 20 74 | 68 65 20 72 65 73 75 6c | if.if t|he resul|
|00006130| 74 20 69 73 20 22 43 61 | 6e 63 65 6c 22 20 74 68 |t is "Ca|ncel" th|
|00006140| 65 6e 20 65 78 69 74 20 | 73 74 64 6c 69 6e 6b 0d |en exit |stdlink.|
|00006150| 69 66 20 74 68 65 20 72 | 65 73 75 6c 74 20 69 73 |if the r|esult is|
|00006160| 20 6e 6f 74 20 65 6d 70 | 74 79 20 74 68 65 6e 20 | not emp|ty then |
|00006170| 70 75 74 20 22 2d 2d 22 | 20 26 26 20 78 20 26 20 |put "--"| && x & |
|00006180| 22 3f 22 20 2d 2d 20 c6 | 0d 65 6e 64 20 69 66 0d |"?" -- .|.end if.|
|00006190| 73 65 74 20 74 68 65 20 | 6c 6f 6e 67 77 69 6e 64 |set the |longwind|
|000061a0| 6f 77 74 69 74 6c 65 73 | 20 74 6f 20 72 6c 77 74 |owtitles| to rlwt|
|000061b0| 0d 65 6e 64 20 73 74 64 | 6c 69 6e 6b 0d 6f 6e 20 |.end std|link.on |
|000061c0| 62 73 6d 73 6e 77 69 6e | 20 79 0d 67 6c 6f 62 61 |bsmsnwin| y.globa|
|000061d0| 6c 20 72 6c 77 74 0d 73 | 65 74 20 63 75 72 73 6f |l rlwt.s|et curso|
|000061e0| 72 20 74 6f 20 77 61 74 | 63 68 0d 70 75 74 20 67 |r to wat|ch.put g|
|000061f0| 65 6e 70 61 74 68 28 79 | 29 20 69 6e 74 6f 20 79 |enpath(y|) into y|
|00006200| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 77 |.if ther|e is a w|
|00006210| 69 6e 64 6f 77 20 79 20 | 74 68 65 6e 0d 69 66 20 |indow y |then.if |
|00006220| 70 61 72 70 28 79 29 20 | 69 73 20 6e 6f 74 20 79 |parp(y) |is not y|
|00006230| 20 74 68 65 6e 0d 73 68 | 6f 77 20 77 69 6e 64 6f | then.sh|ow windo|
|00006240| 77 20 79 0d 65 6e 64 20 | 69 66 0d 65 6c 73 65 0d |w y.end |if.else.|
|00006250| 67 6f 20 73 74 61 63 6b | 20 79 20 69 6e 20 61 20 |go stack| y in a |
|00006260| 6e 65 77 20 77 69 6e 64 | 6f 77 0d 69 66 20 74 68 |new wind|ow.if th|
|00006270| 65 20 72 65 73 75 6c 74 | 20 69 73 20 6e 6f 74 20 |e result| is not |
|00006280| 65 6d 70 74 79 20 74 68 | 65 6e 20 67 6f 20 73 74 |empty th|en go st|
|00006290| 61 63 6b 20 79 0d 65 6e | 64 20 69 66 0d 73 65 74 |ack y.en|d if.set|
|000062a0| 20 74 68 65 20 6c 6f 6e | 67 77 69 6e 64 6f 77 74 | the lon|gwindowt|
|000062b0| 69 74 6c 65 73 20 74 6f | 20 72 6c 77 74 0d 65 6e |itles to| rlwt.en|
|000062c0| 64 20 62 73 6d 73 6e 77 | 69 6e 0d 66 75 6e 63 74 |d bsmsnw|in.funct|
|000062d0| 69 6f 6e 20 70 61 72 70 | 20 79 0d 70 75 74 20 79 |ion parp| y.put y|
|000062e0| 20 69 6e 74 6f 20 79 79 | 0d 73 65 74 20 69 74 65 | into yy|.set ite|
|000062f0| 6d 64 65 6c 69 6d 69 74 | 65 72 20 74 6f 20 63 6f |mdelimit|er to co|
|00006300| 6c 6f 6e 0d 70 75 74 20 | 73 68 6f 72 74 20 6e 61 |lon.put |short na|
|00006310| 6d 65 20 6f 66 20 74 68 | 69 73 20 73 74 61 63 6b |me of th|is stack|
|00006320| 20 69 6e 74 6f 20 6c 61 | 73 74 20 69 74 65 6d 20 | into la|st item |
|00006330| 6f 66 20 79 79 0d 73 65 | 74 20 69 74 65 6d 64 65 |of yy.se|t itemde|
|00006340| 6c 69 6d 69 74 65 72 20 | 74 6f 20 63 6f 6d 6d 61 |limiter |to comma|
|00006350| 0d 72 65 74 75 72 6e 20 | 79 79 0d 65 6e 64 20 70 |.return |yy.end p|
|00006360| 61 72 70 0d 66 75 6e 63 | 74 69 6f 6e 20 67 65 6e |arp.func|tion gen|
|00006370| 50 61 74 68 20 79 0d 67 | 6c 6f 62 61 6c 20 72 6c |Path y.g|lobal rl|
|00006380| 77 74 0d 70 75 74 20 74 | 68 65 20 6c 6f 6e 67 77 |wt.put t|he longw|
|00006390| 69 6e 64 6f 77 74 69 74 | 6c 65 73 20 69 6e 74 6f |indowtit|les into|
|000063a0| 20 72 6c 77 74 0d 73 65 | 74 20 74 68 65 20 69 74 | rlwt.se|t the it|
|000063b0| 65 6d 44 65 6c 69 6d 69 | 74 65 72 20 74 6f 20 63 |emDelimi|ter to c|
|000063c0| 6f 6c 6f 6e 0d 70 75 74 | 20 74 68 65 20 6e 75 6d |olon.put| the num|
|000063d0| 62 65 72 20 6f 66 20 69 | 74 65 6d 73 20 69 6e 20 |ber of i|tems in |
|000063e0| 79 20 69 6e 74 6f 20 63 | 6f 75 6e 74 70 61 74 68 |y into c|ountpath|
|000063f0| 0d 73 65 74 20 74 68 65 | 20 69 74 65 6d 44 65 6c |.set the| itemDel|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.